dexcount-gradle-plugin
编译时提示apk的方法数 https://github.com/KeepSafe/dexcount-gradle-plugin
Jenkins集成apk size与dexcount http://www.jianshu.com/p/c5c8528841eb#rd
配置方式:在 app/build.gradle
buildscript { repositories { mavenCentral() // or jcenter() } dependencies { classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.5.2' } } // make sure this line comes *after* you apply the Android plugin apply plugin: 'com.getkeepsafe.dexcount'
然后在teminal执行 ./gradlew assembleDebug会得到类似下面界面
Android Method Count:
用于分析Android依赖库并且提示库的方法数
Gso
Android Studio实用插件
最新推荐文章于 2021-05-25 17:00:52 发布
![](https://img-home.csdnimg.cn/images/20240611030827.png)