开发工具

作者: ahking17 | 来源:发表于2017-01-25 09:10 被阅读37次
目录

最好的uml工具 astash
pidcat 忽略特定的log tag
查看apk中的方法数和成员变量数, 做瘦身优化时很有用.


最好的uml工具 astash
wangxin@wangxin:~/tool/astah_community$ ./astah

文件保存位置:

/home/wangxin/Documents/数据结构.asta
pidcat 忽略特定的log tag

How to use:

1. export PIDCAT_IGNORED_TAGS="ProgressBar;dalvikvm;dalvikvm-heap"
2. ~/src/github/pidcat-master$ ./pidcat_ignore_tag.py com.qihoo.browser
查看apk中的方法数和成员变量数, 做瘦身优化时很有用.
wangxin@wangxin:~/tool/android-sdk-linux/build-tools/25.0.2$ ./dexdump -f ~/Desktop/holaBrowser-debug.apk | grep method_ids_size
method_ids_size     : 12564
wangxin@wangxin:~/tool/android-sdk-linux/build-tools/25.0.2$ ./dexdump -f ~/Desktop/holaBrowser-debug.apk | grep field_ids_size
field_ids_size      : 4166

相关文章

网友评论

    本文标题:开发工具

    本文链接:https://www.haomeiwen.com/subject/doetittx.html