dexexception:不支持版本

ana*_*dhu 4 decompiler apk dex android-8.0-oreo

我试图将apk转换为源代码。当我输入以下命令时

./d2j-dex2jar.sh classes.dex
Run Code Online (Sandbox Code Playgroud)

我有这个例外:

com.googlecode.d2j.DexException: not support version.
at com.googlecode.d2j.reader.DexFileReader.<init>(DexFileReader.java:151)
at com.googlecode.d2j.reader.DexFileReader.<init>(DexFileReader.java:211)
at com.googlecode.dex2jar.tools.Dex2jarCmd.doCommandLine(Dex2jarCmd.java:104)
at com.googlecode.dex2jar.tools.BaseCmd.doMain(BaseCmd.java:288)
at com.googlecode.dex2jar.tools.Dex2jarCmd.main(Dex2jarCmd.java:32)
Run Code Online (Sandbox Code Playgroud)

我的apk版本是Oreo,而dexcompiler是dex2jar-2.0。据我所知,此dexcompiler最多支持N版本(如果我输入错了,请更正我)。我已经搜索了此异常,但是没有找到任何答案。

请帮助我解决此异常

joh*_*ohn 7

我有同样的问题。使用了更新的版本。现在工作正常。

https://github.com/DexPatcher/dex2jar/releases/download/v2.1-20171001-lanchon/dex-tools-2.1-20171001-lanchon.zip

  • 链接已过时,可以在 https://github.com/DexPatcher/dex2jar/releases 找到版本 (2认同)