Is there a way to get the source code from an APK file?

前端 未结 27 1799
难免孤独
难免孤独 2020-11-21 06:56

The hard drive on my laptop just crashed and I lost all the source code for an app that I have been working on for the past two months. All I have is the APK file that is st

27条回答
  •  日久生厌
    2020-11-21 07:48

    I'll show you other way to decompile the .apk files.

    You can follow the first 2 steps from "prankul garg". So you have another opportunities:

    Step 3':

    Download the "JD-GUI", thats easy to found this one. Open your .jar file in "jd-gui.exe". (File > Open file > 'found your .jar file'). After this procedure, you can save all resources in a .zip file.

    So,

    1st - You have to rename the .apk file to .zip

    2nd - You have to decode .dex file (if you want, decode the .apk file to dex2jar, that's possible)

    3rd - You have to decode .jar file with JD-GUI

提交回复
热议问题