android - How to fix the 5.0.x Lollipop OutOfMemory issue? -


so finished coding app recently, , when publishing it, got messages friends couldn't or partly run app without crashing.

turns out, these friends had lollipop 5.0.x, 5.1.1 seems work again.

i aware of bug android, question just, how did other programmers make apps work on these versions? there common mistakes can avoided?

in app outofmemory exception when using imageview.setimageresource(r.id.imageresource)

this happen when application out of allocation memory.

try android:largeheap="true" in 'application' tag @ manifest file using heap memory

** won't working on pre-honeycomb devices.


Comments