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

前端 未结 27 1888
难免孤独
难免孤独 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条回答
  •  猫巷女王i
    2020-11-21 07:39

    May be the easy one to see the source:

    In Android studio 2.3, Build -> Analyze APK -> Select the apk that you want to decompile.
    You will see it's source code.

    Link for reference:
    https://medium.com/google-developers/making-the-most-of-the-apk-analyzer-c066cb871ea2

提交回复
热议问题