Yasir Abbas
Yasir Abbas

Reputation: 201

dex2jar.jar file generated contains only appinfo class

I lost my android source code and i am trying to get it back somehow. I have an apk installed in my phone which is the only backup i have. I tried using dex2jar and was able to generate a classes_dex2jar.jar file but when i open it with java decompiler GUI it is only showing one class which is the appInfo class.

Java decompiler result for my app

Upvotes: 3

Views: 671

Answers (1)

Yasir Abbas
Yasir Abbas

Reputation: 201

After the android studio update feature Instant Run the application source files were saved in slices and to get all the files i had to create jar files of the pieces of dex files in the instant run folder.(instant_run.zip file )

Upvotes: 3

Related Questions