You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dex version 040 is not supported - UnsupportedFile Exception
It would be great if ApkTool/Baksmali could be updated to support dex version 040.
Description:
I encountered an issue while trying to decompile an APK using ApkTool/Baksmali. The error message indicates that .dex version 040 is not supported, which prevents the tool from successfully decoding the APK.
Error Message:
I: Baksmaling classes.dex...
Exception in thread "main" com.android.tools.smali.dexlib2.util.DexUtil$UnsupportedFile: Dex version 040 is not supported
at com.android.tools.smali.dexlib2.util.DexUtil.verifyDexHeader(DexUtil.java:96)
at com.android.tools.smali.dexlib2.dexbacked.DexBackedDexFile.getVersion(DexBackedDexFile.java:172)
at com.android.tools.smali.dexlib2.dexbacked.DexBackedDexFile.(DexBackedDexFile.java:96)
at com.android.tools.smali.dexlib2.dexbacked.DexBackedDexFile.(DexBackedDexFile.java:199)
at com.android.tools.smali.dexlib2.dexbacked.ZipDexContainer$1.getDexFile(ZipDexContainer.java:180)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:88)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:36)
at brut.androlib.ApkDecoder.decodeSourcesSmali(ApkDecoder.java:220)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:127)
at brut.apktool.Main.cmdDecode(Main.java:217)
at brut.apktool.Main.main(Main.java:92)
The text was updated successfully, but these errors were encountered:
Dex version 040 is not supported - UnsupportedFile Exception
It would be great if ApkTool/Baksmali could be updated to support dex version 040.
Description:
I encountered an issue while trying to decompile an APK using ApkTool/Baksmali. The error message indicates that .dex version 040 is not supported, which prevents the tool from successfully decoding the APK.
Error Message:
I: Baksmaling classes.dex...
Exception in thread "main" com.android.tools.smali.dexlib2.util.DexUtil$UnsupportedFile: Dex version 040 is not supported
at com.android.tools.smali.dexlib2.util.DexUtil.verifyDexHeader(DexUtil.java:96)
at com.android.tools.smali.dexlib2.dexbacked.DexBackedDexFile.getVersion(DexBackedDexFile.java:172)
at com.android.tools.smali.dexlib2.dexbacked.DexBackedDexFile.(DexBackedDexFile.java:96)
at com.android.tools.smali.dexlib2.dexbacked.DexBackedDexFile.(DexBackedDexFile.java:199)
at com.android.tools.smali.dexlib2.dexbacked.ZipDexContainer$1.getDexFile(ZipDexContainer.java:180)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:88)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:36)
at brut.androlib.ApkDecoder.decodeSourcesSmali(ApkDecoder.java:220)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:127)
at brut.apktool.Main.cmdDecode(Main.java:217)
at brut.apktool.Main.main(Main.java:92)
The text was updated successfully, but these errors were encountered: