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

Does dex2jar support multidex? #63

Open
adipascu opened this Issue Feb 29, 2016 · 7 comments

Comments

Projects
None yet
7 participants
@adipascu

adipascu commented Feb 29, 2016

No description provided.

@pradyukrish

This comment has been minimized.

Show comment
Hide comment
@pradyukrish

pradyukrish Mar 3, 2016

dex2jar when given an apk as an input is only converting the classes.dex file into a jar, ignoring classes2.dex . Is there an option i can specify to make it convert all the .dex files in the apk into a single jar?

pradyukrish commented Mar 3, 2016

dex2jar when given an apk as an input is only converting the classes.dex file into a jar, ignoring classes2.dex . Is there an option i can specify to make it convert all the .dex files in the apk into a single jar?

@adipascu

This comment has been minimized.

Show comment
Hide comment
@adipascu

adipascu Mar 3, 2016

You could dex2jar all the dex files manually and then merge the resulting jar files.

adipascu commented Mar 3, 2016

You could dex2jar all the dex files manually and then merge the resulting jar files.

@pxb1988

This comment has been minimized.

Show comment
Hide comment
@pxb1988

pxb1988 Mar 4, 2016

Owner

@adi1133 as of 52f26c6
you can directly run dex2jar on an apk with multidex support. all classes*.dex are convert to a single jar file.

d2j-dex2jar.sh the-apk-witch-mutidex.apk
Owner

pxb1988 commented Mar 4, 2016

@adi1133 as of 52f26c6
you can directly run dex2jar on an apk with multidex support. all classes*.dex are convert to a single jar file.

d2j-dex2jar.sh the-apk-witch-mutidex.apk
@alading

This comment has been minimized.

Show comment
Hide comment
@alading

alading Feb 17, 2017

It does not work for multiple dex apk

alading commented Feb 17, 2017

It does not work for multiple dex apk

@DulingLai

This comment has been minimized.

Show comment
Hide comment
@DulingLai

DulingLai Aug 3, 2017

jar2dex does not directly support multi-dex.

DulingLai commented Aug 3, 2017

jar2dex does not directly support multi-dex.

@chutchut

This comment has been minimized.

Show comment
Hide comment
@chutchut

chutchut Sep 22, 2017

FYI: This is the version that supports multi-dex
https://github.com/pxb1988/dex2jar/releases/tag/2.1-nightly-26

I had to bump the JVM -Xms and -Xmx args (because I kept getting an OutOfMemoryError) by changing this line in d2j-dex2jar.sh:

java -Xms512m -Xmx1024m -classpath "${_classpath}" "com.googlecode.dex2jar.tools.Dex2jarCmd" "$@"

to this:

java -Xms1024m -Xmx3072m -classpath "${_classpath}" "com.googlecode.dex2jar.tools.Dex2jarCmd" "$@"

chutchut commented Sep 22, 2017

FYI: This is the version that supports multi-dex
https://github.com/pxb1988/dex2jar/releases/tag/2.1-nightly-26

I had to bump the JVM -Xms and -Xmx args (because I kept getting an OutOfMemoryError) by changing this line in d2j-dex2jar.sh:

java -Xms512m -Xmx1024m -classpath "${_classpath}" "com.googlecode.dex2jar.tools.Dex2jarCmd" "$@"

to this:

java -Xms1024m -Xmx3072m -classpath "${_classpath}" "com.googlecode.dex2jar.tools.Dex2jarCmd" "$@"
@Lanchon

This comment has been minimized.

Show comment
Hide comment
@Lanchon

Lanchon Sep 23, 2017

as pxb1988 said (the effing author of dex2jar, he should know!), dex2jar supports multidex. those that thought otherwise were simply using outdated builds.

you can try my builds, they are much more recent:
https://github.com/Lanchon/dex2jar/releases

Lanchon commented Sep 23, 2017

as pxb1988 said (the effing author of dex2jar, he should know!), dex2jar supports multidex. those that thought otherwise were simply using outdated builds.

you can try my builds, they are much more recent:
https://github.com/Lanchon/dex2jar/releases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment