Discussion:
[android-porting] Android 4.3 can not install App, error code Unable to extract+optimize DEX
yin xiaoyang
2018-08-16 11:57:28 UTC
Permalink
E/dalvikvm: Unable to extract+optimize DEX from
'/data/data/com.example.platform/code_cache/secondary-dexes/com.example.platform-1.apk.classes2.zip'
E/MultiDex: MultiDex installation failure
java.io.IOException: unable to open DEX file
at dalvik.system.DexFile.openDexFile(Native Method)
at dalvik.system.DexFile.<init>(DexFile.java:109)
at dalvik.system.DexFile.loadDex(DexFile.java:149)
at
android.support.multidex.MultiDex$V14.makeDexElements(MultiDex.java:700)
at android.support.multidex.MultiDex$V14.install(MultiDex.java:660)
at
android.support.multidex.MultiDex.installSecondaryDexes(MultiDex.java:349)
at
android.support.multidex.MultiDex.doInstallation(MultiDex.java:272)
at android.support.multidex.MultiDex.install(MultiDex.java:112)
at
android.support.multidex.MultiDexApplication.attachBaseContext(MultiDexApplication.java:39)
at android.app.Application.attach(Application.java:181)
at
android.app.Instrumentation.newApplication(Instrumentation.java:991)
at
android.app.Instrumentation.newApplication(Instrumentation.java:975)
at android.app.LoadedApk.makeApplication(LoadedApk.java:506)
at
android.app.ActivityThread.handleBindApplication(ActivityThread.java:4543)
at android.app.ActivityThread.access$1300(ActivityThread.java:147)
at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1332)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5265)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:760)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:576)
at dalvik.system.NativeStart.main(Native Method)


My manifest has set

multiDexEnabled true

and I use com.android.support:multidex:1.0.3

Could you tell me why Android4.3 can not run this app
--
--
unsubscribe: android-porting+***@googlegroups.com
website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...