java.io.IOException

unable to open DEX file

Samebug tips1

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.


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web88

Stack trace

  • 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.<init>(DexFile.java:80) at dalvik.system.DexFile.<init>(DexFile.java:59) at dalvik.system.DexPathList.loadDexFile(DexPathList.java:263) at dalvik.system.DexPathList.makeDexElements(DexPathList.java:230) at dalvik.system.DexPathList.<init>(DexPathList.java:112) at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:48) at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:65) at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:57) at android.app.LoadedApk.getClassLoader(LoadedApk.java:326) at android.app.LoadedApk.makeApplication(LoadedApk.java:508) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4514)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

winer222winer222
8 times, last one
bluebunntybluebunnty
9 times, last one
spespe
6 times, last one
tone5992tone5992
Once,
Unknown visitor
Unknown visitor2 times, last one
8 more bugmates