分析每个模块对 apk 大小的贡献率
As we all know, Google has provided aapt plugin for parsing apk, we can get a list of apk files by using 'aapt l -v '. We can divide each res file(assets file) into the module project which it belongs to. But source code of the project can not be divided directly because it will be shrinked optimized and obfuscated. DexSplitter can help you to divide source code.
Android Origin Build Release.apk
DexSplitter Build Release.apk
splitter_result.txt
ps:more details:extra/hack_description.txt extra/hook_details.txt
The most important purpose of dexSplitter is to build apk which has special dex files You can use extra/dx.jar directly Host app(lib:gson), library module moduleone(lib:GreenDAO), library module moduletwo(lib:universalimageloader) subdexeslist.txt is used for splitting dex, TestClassForMainDex.class is just a test file Third libs will not be obfuscated Android Support library is marked as android_sys subdexeslist.txt should not contain duplicated class files暂无开放 Issues,或尚未同步最近议题。