Search code examples
androidandroid-manifestheap-memoryheap-dump

How To Use android:largeHeap:true In API <= 10 in Android


how to use android:largeHeap:true In AndroidManifest.xml cIn API Level 10 And Bellow ? It Defined In API 11 And Above.


Solution

  • That attribute did not exist prior to API Level 11, and there is no documented and supported way of requesting a large heap prior to API Level 11.

    Also, note that there is no guarantee that you will get a large heap even on API Level 11+ devices.