gpt4 book ai didi

Android Studio 找不到运行者

转载 作者:行者123 更新时间:2023-12-04 23:43:32 29 4
gpt4 key购买 nike

我从 git 克隆了一个项目并在 android studio 中构建它没有任何问题,但我在 android studio 中没有(运行应用程序),而且当我运行 run-android 时出现此错误:

Failed to launch emulator. Reason: No emulators found as an output of `emulator -list-avds`
但我可以从 AVD 管理器运行我的模拟器!
我做了所有通过搜索找到的解决方案,但它们对我不起作用
enter image description here

最佳答案

对我来说,原因是 Gradle 同步正在进行或 Gradle 同步失败。
对于后一种情况,转到您的顶级或应用程序构建文件并单击 Try againSync文件顶部显示的通知上的按钮。
您也可以尝试 sync the IDE with Gradle使用以下任一方法:
Syncing IDE with Gradle

关于Android Studio 找不到运行者,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69415378/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com