关于Android Device Monitor有关问题
如何使用Android Device Monitor工具
我使用Android studio 3.6版本工具开发Android,在需要使用Android Device Monitor工具时,我却没有找到Android Device Monitor,去官网搜索才知道,谷歌把Android studio 3.x版本开始就弃用了,所以我只能到配置的SDK的工具里找Android Device Monitor。
打开Android Device Monitor
首先打开自己配SDK的目录里找到tools目录下的monitor.bat
如果打开monitor.bat出错,则可能是你的jdk版本过低,把jdk版本升级。
如果无法打开adb shell,则是你的SDK环境没有配好,需要到环境变量的path里添加
所有都弄好了则能够打开Android Device Monitor
在打开Android Device Monitor时出现:
一般是8700端口被qq或者其他程序占用才提示,想要知道的话就使用netstat命令去查看是那个程序占用端口