解决Android Studio版本大于3.0找不到Android Device Monitor工具

作为一名合格搞机人员,使用布局查看工具Device Monitor能快速定位源码中需要查找的id

but 某一天升级AS后,居然找不到了。这让我还怎么愉快的玩耍

URI9DH.png

结果一查资料,发现从 3.0 版本开始,google 推出新工具 Layout Inspector 替代 Device Monitor,

关于 Layout Inspector 这篇介绍比较详细,可参考

https://blog.csdn.net/cadi2011/article/details/85212762

用了几天后发现真是 bug 百出啊,太太太太影响效率了。最终还是回归 Device Monitor 怀抱,在网上找到大牛写的AS

插件,去加载本地磁盘SDK中的 Android Device Monitor路径然后直接打开。

插件下载地址

https://github.com/cczheng/MTK-Android-CZ-Code/blob/master/DeviceMonitorPlugin.jar

安装插件

打开 AndroidStudio

选择 File -> Settings-> Plugins ,点击齿轮,install plugin from disk

选择下载好的插件 [DeviceMonitorPlugin.jar] -> 重启 AndroidStudio

URLO1I.png

打开DeviceMonitor

打开 AndroidStudio

菜单栏 Tools -> 单击 DeviceMonitor

UgStyt.png

参考文章

https://juejin.im/post/5c556ff7f265da2dbe02ba3c

猜你喜欢

转载自blog.csdn.net/u012932409/article/details/107458830
今日推荐