How to find all the packages included in an apk

拥有回忆 提交于 2019-12-02 09:22:11

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.

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.

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!