nmmp
nmmp copied to clipboard
Dex version 040 is not supported
The reason is the baksmali is outdated. Can you please update it to latest version? You can use forked version of baksmali https://github.com/google/smali
Exception in thread "main" org.jf.dexlib2.util.DexUtil$UnsupportedFile: Dex version 040 is not supported
at org.jf.dexlib2.util.DexUtil.verifyDexHeader(DexUtil.java:97)
at org.jf.dexlib2.util.DexUtil.verifyDexHeader(DexUtil.java:73)
at org.jf.dexlib2.dexbacked.DexBackedDexFile.fromInputStream(DexBackedDexFile.java:190)
at com.nmmedit.apkprotect.dex2c.converter.ClassAnalyzer.loadDexFile(ClassAnalyzer.java:43)
at com.nmmedit.apkprotect.ApkProtect.run(ApkProtect.java:103)
at com.nmmedit.protect.ApkMain.main(ApkMain.java:56)
at com.nmmedit.protect.Main.main(Main.java:26)
I upgraded dexlib2 to the latest version, but have not tested dex V40 V41.
Thanks, it works now