Showing dex method count by package

前端 未结 6 1492
无人共我
无人共我 2021-01-30 05:30

I\'m working on android app that\'s running up against the dex method count limit. Is there a simple way to show the method count grouped by package? I can get

6条回答
  •  一整个雨季
    2021-01-30 06:10

    Piling on to an old question, I've written a Gradle plugin that will report the number of methods in your APK on every build. It uses the same DEX parsing code that the AOSP project uses. You can find it at https://github.com/KeepSafe/dexcount-gradle-plugin.

提交回复
热议问题