alexzaitsev / apk-dependency-graph

Android class dependency visualizer. This tool helps to visualize the current state of the project.
Apache License 2.0
755 stars 70 forks source link

[IMPROVEMENT] Remove apktool dependency and use baksmali to decode an APK file. #32

Closed victorrattis closed 5 years ago

victorrattis commented 5 years ago

Currently, apktool lib is used to decode an APK file into smali code, and its jar is added directly in the project and for each update in the jar is done the repository size increases (today, the repository size is ~23MB).

Also, apktool does more than decode an APK in smali code:

I: Loading resource table... I: Decoding AndroidManifest.xml with resources... I: Loading resource table from file: C:\Users\username\AppData\Local\apktool\framework\1.apk I: Regular manifest package... I: Decoding file-resources... I: Decoding values / XMLs... I: Baksmaling classes.dex... I: Copying assets and libs... I: Copying unknown files... I: Copying original files...

and only using the baksmali is better because it just decodes the classes.dex to smali code.

Tasks:

victorrattis commented 5 years ago

I am closing this issue as complete because the pull request for that was integrated successfully!