android - Installation error: INSTALL_FAILED_DEXOPT -


Hello I have a big problem that my application size is around 10 MB and I have a junk of 7 MB junior. Recently I updated my application after adding the googleplayservice that my apk is not installed in the device which is less than API level 11. I put my log cat here.

  08-01 15:09: 25.333: e / dalvikum (429): more than linear allocation capacity (5242880), final = 100 08-01 15: 09: 25.333: E / Dalevic (429): VM abrogated 08-01 15: 09: 25.522: W / Installed (34): DexInv: --- END '/data/app/com.xxxxxx.xxxx.android-1.apk' - - Status = 0x000b, Process Fail 08-01 15: 09: 25.522: E / Installed (34): '/data/dalvik-cache/data@app@com.xxxxx.xxxx.android-1.apk@classes.dex Failed on 'res = 11  

  problem Our method up to 64k size Reaches the easy solution for this issue. The need to be in or we need to remove some of the library is not required. The best solution is that we can use AP for the use of AP. And create a build.xml file to split our library into two files, and we can inject that library gradually. We solved that issues are bought by using ant construction.  

Another option is available in the Android studio, they have introduced a feature called multiple DX files so that we can come to these issues.

Edit 06-04-2015

The problem is that when you update Google Play services, instead of adding full play service, the Android Studio Project


Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -