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

前端 未结 27 1798
难免孤独
难免孤独 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:55

    I found the following as the simplest method:

    1. Rename your app.apk to app.zip (Change extension from apk to zip)
    2. Extract the zip file into a folder
    3. Use JADX tool to read the source code, present in classes.dex file.

提交回复
热议问题