来自文档:
To run the AVD Manager, do one of the following:
- In Android Studio, select Tools > Android > AVD Manager.
- Click AVD Manager in the toolbar.
这些都不存在。
我进入设置,发现没有显示的 AVD Manager 菜单项,并为其分配了键盘快捷键,但它没有做任何事情。
网络上的其他来源提到运行 android avd
来启动 AVD 管理器,但这已被弃用并删除。
**************************************************************************
The "android" command is deprecated.
For manual SDK, AVD, and project management, please use Android Studio.
For command-line tools, use tools\bin\sdkmanager.bat
and tools\bin\avdmanager.bat
**************************************************************************
Invalid or unsupported command "avd"
如何打开 AVD 管理器?
最佳答案
按照安卓终端窗口中的提示操作即可。
我可以通过尝试构建 gradle 来解决这个问题,当失败时,它提示我“安装缺少的平台并同步项目”。这解决了这个问题。解决 gradle 依赖关系大约需要 5 分钟。
注意:这是尝试从原始 ionic 生成的 android 代码运行 ionic 应用程序。在您执行这些步骤之前,它最初不会被识别为 android 项目或应用程序。
在所有完成之前,tools>Android>菜单不可用。
关于android - 工具 > Android 菜单在 Android Studio 中不存在,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44293791/