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

Dex version 040 is not supported #125

Open
AndroidMaster25 opened this issue Jan 9, 2025 · 2 comments
Open

Dex version 040 is not supported #125

AndroidMaster25 opened this issue Jan 9, 2025 · 2 comments

Comments

@AndroidMaster25
Copy link

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)
@maoabc
Copy link
Owner

maoabc commented Jan 10, 2025

I upgraded dexlib2 to the latest version, but have not tested dex V40 V41.

@AndroidMaster25
Copy link
Author

Thanks, it works now

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