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

com.googlecode.d2j.DexException: not support version. #5

Open
cr4ck32 opened this issue Aug 11, 2019 · 1 comment
Open

com.googlecode.d2j.DexException: not support version. #5

cr4ck32 opened this issue Aug 11, 2019 · 1 comment

Comments

@cr4ck32
Copy link

cr4ck32 commented Aug 11, 2019

Hi,
I have the following error:
Extracting mod.apk to mod
Converting: classes2.dex -> classes2.jar (dex2jar)
dex2jar mod/classes2.dex -> mod/classes2.jar
com.googlecode.d2j.DexException: not support version.
at com.googlecode.d2j.reader.DexFileReader.(DexFileReader.java:151)
at com.googlecode.d2j.reader.DexFileReader.(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)
Decompiling to mod/src (cfr)

I have seen that the solution could be this:
https://github.com/DexPatcher/dex2jar/releases

but I don't know how to implement it, could you please give me the steps to fix it?
Thank you.

@Popbrain
Copy link

@cr4ck32
I worked with the following steps, please try it. 👍

1. Install dex2jar by brew

brew install dex2jar

2. Download https://github.com/DexPatcher/dex2jar/releases, And Unzip.

3. Move to /usr/local/Cellar/dex2jar/VERSION/libexec in local.

3. Replace /usr/local/Cellar/dex2jar/VERSION/libexec/lib to dex-tools-2.1-20190905-lanchon/lib of the Unziped.

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