java.io.IOException: unable to open DEX file

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

If you need more than 65536 methods on your application you need to change your Gradle configuration to enable MultiDex and modify your manifest to reference MultiDex class.

Solutions on the web

via liudonghua.com by Unknown author, 1 year ago
Failed to open oat file from dex location '/system/framework/services.jar'
via twittercommunity.com by Unknown author, 1 year ago
java.io.IOException: unable to open DEX file
at dalvik.system.DexFile.openDexFileNative(Native Method)
at dalvik.system.DexFile.openDexFile(DexFile.java:296)
at dalvik.system.DexFile.(DexFile.java:80)
at dalvik.system.DexFile.(DexFile.java:59)
at dalvik.system.DexPathList.loadDexFile(DexPathList.java:263)
at dalvik.system.DexPathList.makeDexElements(DexPathList.java:230)
at dalvik.system.DexPathList.(DexPathList.java:112)
at dalvik.system.BaseDexClassLoader.(BaseDexClassLoader.java:48)
at dalvik.system.PathClassLoader.(PathClassLoader.java:65)

Users with the same issue

8 times, 6 months ago
9 times, 1 year ago
1495 times, 1 year ago
2 times, 1 year ago
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.