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.

  • GitHub comment 329#232841081
    via GitHub by thestinger
  • Unable to get provider - rarely crash on kitkat
    via Stack Overflow by j2esu
  • Dynamic class loading in Android
    via Stack Overflow by Mari Murotani
    • No original dex files found for dex location /system/priv-app/HotwordEnrollment/HotwordEnrollment.apk 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.makePathElements( at dalvik.system.DexPathList.<init>( at dalvik.system.BaseDexClassLoader.<init>( at dalvik.system.PathClassLoader.<init>( at at at at

    Users with the same issue

    8 times, last one,
    9 times, last one,
    6 times, last one,
    1 times, last one,
    Unknown visitor
    Unknown visitor2 times, last one,
    8 more bugmates