matrix icon indicating copy to clipboard operation
matrix copied to clipboard

ApkChecker countR 能提供一些优化建议么

Open hfutgl opened this issue 7 years ago • 1 comments

编译之后,代码中对资源的引用都会优化成int常量,除了R.styleable之外,其他的R类其实都可以删除

没太看懂 R.java文件中除了styleable,其他的都删掉?

hfutgl avatar Dec 29 '18 03:12 hfutgl

是的,只不过这个收益可能不大,更多的可能会影响dex的field count。可以看情况决定是否删除

jqctop1 avatar Dec 29 '18 03:12 jqctop1