User Tools

Site Tools


64k_methods

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
64k_methods [2016/06/19 12:28] – kalaschnikow64k_methods [2018/04/23 15:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== 64k methods ======
  
 +Article about how to reduce method count:
 +http://jeroenmols.com/blog/2016/05/06/methodcount/
 +
 +Count with 
 +<code groovy>
 +apply plugin: 'com.getkeepsafe.dexcount'
 +</code>
 +in app's ''build.gradle'' file (apply AFTER Android plugin)
 +
 +Interactive chart is in ''build/outputs/dexcount/debugChart'' or ''build/outputs/dexcount/releaseChart''
 +
 +Reduce with:
 +  * choosing right libs (useful tool for this: http://www.methodscount.com)
 +  * ProGuard