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 GitHub by shidongdi
, 1 year ago
unable to open DEX file
via GitHub by hkinglon
, 1 year ago
via GitHub by ashishkumar1000
, 1 year ago
unable to open DEX file
via GitHub by DozenWang
, 1 year ago
via GitHub by w4lle
, 1 year ago
via GitHub by leiMsnow
, 8 months ago
Failed to open dex files from /data/user/0/com.dangdang.buy2/tinker/patch-d07d791c/dex/classes.dex.jar because: Failure to verify dex file '/data/user/0/com.dangdang.buy2/tinker/patch-d07d791c/dex/classes.dex.jar': Found virtual method with same index as direct method: 29418 unable to open DEX file
at dalvik.system.DexFile.openDexFileNative(Native Method)
at dalvik.system.DexFile.openDexFile(
at dalvik.system.DexFile.(
at dalvik.system.DexFile.loadDex(
at android.os.Handler.dispatchMessage(
at android.os.Looper.loop(
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(

Users with the same issue

8 times, 7 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.