Debug.startMethodTracing("GithubApp");
Debug.startMethodTracing("GithubApp");
Debug.stopMethodTracing();
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
adb pull /sdcard/GithubApp.trace
打开DDMS分析trace文件
点击"Tools"菜单
再选择"Android"-"Android Device Monitor"
在弹出的对话框就可以看到DDMS了

浙公网安备 33010602011771号