Android命令已被弃用

问题描述 投票:1回答:2

我已经安装了SDK Manager并设置了我的环境变量。当我在命令行输入android时。它说android命令已被弃用。如何在Mac中启动uiautomatorviewer?

android macos uiautomatorviewer
2个回答
1
投票

使用uiautomatorviewer弃用,现在必须使用监视器。

有关https://developer.android.com/studio/profile/monitor.html的更多信息,请参阅文档


0
投票

您可以通过在终端中键入uiautomatorviewer命令来启动uiautomatorviewer。 uiautomatorviewer shell脚本位于$ ANDROID_HOME / tools / bin目录中。

© www.soinside.com 2019 - 2024. All rights reserved.