我已经安装了SDK Manager并设置了我的环境变量。当我在命令行输入android时。它说android命令已被弃用。如何在Mac中启动uiautomatorviewer?
使用uiautomatorviewer弃用,现在必须使用监视器。
有关https://developer.android.com/studio/profile/monitor.html的更多信息,请参阅文档
您可以通过在终端中键入uiautomatorviewer
命令来启动uiautomatorviewer。 uiautomatorviewer shell脚本位于$ ANDROID_HOME / tools / bin目录中。