问题原因:
AS 1.4版本以后开始支持GPU monitor,到AS 3.0把它去掉了,这里选用AS 2.3.2版本.
Android Studio升级3.0以后使用Android Profiler替代DDMS 和 Systrace
Layout Inspector 替代Hierarchy Viewer。
解决办法:
<1>.如果你仍需使用以前的DDMS,
android-sdk/tools/monitor
<2>.设备文件浏览
View-->Tool Windows-->Device File Explorer。
*******************************************************************************
这里选用AS 2.3.2版本.
1.下载Android Studio 2.3.2
链接:https://pan.baidu.com/s/1ntZN16tre3O2lJmZMBacuQ 密码:7l54
2.(Google官网说明,但是亲测可选,得看运气):
———>开发者选项
—————>GPU呈现模式分析
——————>在adb shell dumpsys gfinfo中
3.Android Studio3.12查看某个应用的CPU/Memory/Network
---->View
---->Tool Windows
----->Android Profiler
Android Studio GPU/CPU/Network/Memory monitor使用
最新推荐文章于 2024-07-10 10:42:55 发布