2

Some Android Apks contain multiple classes.dex files which are numbered like this: classes1.dex, classes2.dex ... and when i try to decompile them it would result into multiple source codes. Is there a way to integrate them into one dex or jar file then decompile so there would be one source code in the end?

2

Dex files have a maximum amount of methods which they can contain, specifically 64k methods.

Jar files are just zip files containing class files.

Knowing both of these, all you need to do is dex2jar (or whatever you're using to create the jar file from the dex file) each dex file individually. Then unzip each file to the same directory, enter the directory and then zip them all up into a single, massive, jar (zip file).

After this you can open this as a single jar with jadx or whatever tool you'd like.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.