How to find all the packages included in an apk

后端 未结 3 576
北荒
北荒 2021-01-26 13:09

I am involved in reverse engineering android apps (using apktool and androguard). I wish to find out all the packages included in an apk. The package may include the main applic

相关标签:
3条回答
  • 2021-01-26 13:51

    You can extract your apk to see whats inside it ,by just renaming it to "apkname.zip".After renaming you can extract it like normal zip files.I guess this is what you wana see.Replace ".apk" with ".zip".Then extract it like normal zip.Then you will get "classe.dex",you can convert this into "classes-dex2jar" using dex2jar converter.And,after this using jui compiler you can view all the classes and packages.

    0 讨论(0)
  • 2021-01-26 13:55

    I wish to find out all the packages included in an apk. ... Please let me know if there is any tool/ anyway to do this.

    I managed to find a tool called dexter, that offered this exact feature. Also they present a package dependency graph.

    0 讨论(0)
  • 2021-01-26 14:09

    The best way to do this will be to do reversing using dex2jar and jd-gui.

    1. Run ./d2j-dex2jar.sh yourapk.apk which will result in a classes_dex2jar.jar file.

    2. Open the JAR file, in any Java file viewer. One of the most popular one is JD-GUI.

    Both the tools are free. Once you open the jar file in JD-GUI you'll be able to see all the packages it uses, such as admob, analytics and so on.

    0 讨论(0)
提交回复
热议问题