Search code examples
androidresourcesandroid-largeheap

android:largeHeap="true" not working


Possible Duplicate:
largeHeap=true manifest tag not working?

I put android:largeHeap="true" in the application tag of the manifest file and set the minSdk version to android:minSdkVersion="12" and android:targetSdkVersion="15" but it does not work and I get the error message "error: no resource identifier found for attribute 'large heap' in package 'android'

How do I get it working?


Solution

  • Please check this SO

    also go through documentation of largeHeap attribute. It clearly states that It only applies to the first application loaded into a process and if you're using a shared user ID to allow multiple applications to use a process, they all must use this option consistently or they will have unpredictable results.