Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Dex 040 unsupported? #3562

Closed
privacyguy123 opened this issue Apr 1, 2024 · 2 comments
Closed

[BUG] Dex 040 unsupported? #3562

privacyguy123 opened this issue Apr 1, 2024 · 2 comments

Comments

@privacyguy123
Copy link

Information

  1. Apktool Version (apktool -version) - 2.9.3
  2. Operating System (Mac, Linux, Windows) - Ubuntu
  3. APK From? (Playstore, ROM, Other) - Other
  4. Java Version (java --version) - "1.8.0_401
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.<init>(DexBackedDexFile.java:96)
        at com.android.tools.smali.dexlib2.dexbacked.DexBackedDexFile.<init>(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)
@iBotPeaches
Copy link
Owner

May you try the bleeding edge 2.10 build in this action? https://github.com/iBotPeaches/Apktool/actions/runs/8418721131

Supports up to dex 41 in my memory.

@privacyguy123
Copy link
Author

Apologies for not looking a little harder!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants