The application gets crashing every-time, when am running eclipse saying
LinearAlloc exceeded capacity (5242880), last=208
This is happenin
I recently hit this problem and my solution was to write wrappers for the library jar and include it in the assets directory. I also wrote a blog post explaining it with a sample project on github. Hope it helps. http://birbit.com/how-to-solve-linearalloc-problem/
In Android 2.3.x I have this error. I don't know for sure if it's because the number of classes/methods of the App, or because complex hierarchy that I have that. I get rid of the source of Glide library and the error gone away. If I remember right, this library has working well in previous releases of my App, before I have grow up in class/method size.
Here make me think it would be the reason:
https://github.com/segmentio/analytics-android/issues/40#issuecomment-45190437
It's a limitation in Dalvik triggered on unusually complex interface hierarchies.
http://code.google.com/p/android/issues/detail?id=22586
See the details for ideas on working around. Simple answer might be to try using different libraries that are less complex.
A fix has been merged into Android AOSP. https://android-review.googlesource.com/#/c/30900/