dex2jar icon indicating copy to clipboard operation
dex2jar copied to clipboard

Can I convert multi *.dex files intro one jar ?

Open nvcken opened this issue 6 years ago • 4 comments

example: d2j-dex2jar class.dex class1.dex class2.dex ouput ->classes-dex2jar.jar ( contain all *.dex input converted )

Currently, it's separated into multi jar files

d2j-dex2jar -f classes.dex classes2.dex classes3.dex
dex2jar classes.dex -> ./classes-dex2jar.jar
dex2jar classes2.dex -> ./classes2-dex2jar.jar
dex2jar classes3.dex -> ./classes3-dex2jar.jar

nvcken avatar Apr 15 '18 02:04 nvcken

I managed to do that using the nightly build:
https://github.com/pxb1988/dex2jar/releases/tag/2.1-nightly-26
and passing to dex2jar the entire apk, instead of .dex files. It should output the entire jar.
Please refer to this other issue, where I found the answer:
https://github.com/pxb1988/dex2jar/issues/63

LucaGaspa avatar Apr 18 '18 10:04 LucaGaspa

It seems like this issue can be closed now?

daj avatar Dec 19 '18 15:12 daj

hey, when nightly build will be stable release ?

nvcken avatar Dec 21 '18 03:12 nvcken

use https://github.com/DexPatcher/dex2jar/releases , use command: ./d2j-dex2jar.sh xxx.apk

nysin avatar Jun 22 '23 09:06 nysin