java.io.IOException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
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.


rafael

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

  • GitHub comment 261#242359069
    via GitHub by I60R
    ,
  • Android Multidex RuntimeException
    via Stack Overflow by creck
    ,
  • Didn't find class on path DexPathList
    via Stack Overflow by bluemunch
    ,
    • java.io.IOException: Failed to open dex files from /data/app/com.pkg.app-2/base.apk at dalvik.system.DexFile.openDexFileNative(Native Method) at dalvik.system.DexFile.openDexFile(DexFile.java:295) at dalvik.system.DexFile.<init>(DexFile.java:80) at dalvik.system.DexFile.<init>(DexFile.java:59) at dalvik.system.DexPathList.loadDexFile(DexPathList.java:279) at dalvik.system.DexPathList.makePathElements(DexPathList.java:248) at dalvik.system.DexPathList.<init>(DexPathList.java:120) at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:48) at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:65) at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:84) at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:45) at android.app.LoadedApk.getClassLoader(LoadedApk.java:434) at android.app.LoadedApk.makeApplication(LoadedApk.java:659)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    spe
    1495 times, last one,
    Unknown visitor1 times, last one,
    winer222
    8 times, last one,
    8 more bugmates