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.

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.


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

  • Error add shell pm install Android 5.0.2
    via Stack Overflow by BryGom
  • GitHub comment 105#268789426
    via GitHub by Bryan2Lee
  • Changing Android source in
    via Stack Overflow by Pedro Maltez
  • Changing android framework
    via by Pedro Maltez,
    • Failed to open oat file from dex location '/system/framework/am.jar' at dalvik.system.DexFile.openDexFileNative(Native Method) at dalvik.system.DexFile.openDexFile( at dalvik.system.DexFile.<init>( at dalvik.system.DexFile.<init>( at dalvik.system.DexPathList.loadDexFile( at dalvik.system.DexPathList.makeDexElements( at dalvik.system.DexPathList.<init>( at dalvik.system.BaseDexClassLoader.<init>( at dalvik.system.PathClassLoader.<init>( at java.lang.ClassLoader.createSystemClassLoader( at java.lang.ClassLoader.access$000( at java.lang.ClassLoader$SystemClassLoader.<clinit>( at java.lang.ClassLoader.getSystemClassLoader( Caused by: Failed to open oat file from /system/framework/arm/am.odex (error Failed to open oat filename for reading: No such file or directory) (no dalvik_cache availible) and relocation failed. ... 13 more Caused by: ... 13 more Caused by: Failed to remove obsolete file from /data/dalvik-cache/arm/system@framework@am.jar@classes.dex when searching for dex file /system/framework/am.jar: Permission denied ... 13 more

    Users with the same issue

    Unknown visitor1 times, last one,
    8 times, last one,
    9 times, last one,
    Unknown visitor2 times, last one,
    Unknown visitor1 times, last one,
    8 more bugmates