[英]Can't run Android Studio's Emulator
我使用以下解决方案解决了这个问题。↓
Tools -> SDK Manager -> SDK Tools (tab) -> Deselect 'Android Emulator' -> OK
Now, when you try to run your app, or launch device from AVD Manager, it will give the 'Install Emulator' error -> Click Ok. This will automatically download the correct version.
I experienced the same problem with emulator version 30.6.4 and Android Studio Arctic Fox 2020.3.1 Canary 15. I tried switching from Intel HAXM to Windows Hyper-V and re-installed all android build tool and emulator packages. 之后它工作了一天。
我尝试的第二件事是手动安装旧版本(30.5.5)的模拟器,你可以从这里获得。 现在 Android Studio 无法识别我手动安装的模拟器,我无法从 UI 启动 AVD。 但是我可以通过 cmd 启动它,并从 android 工作室中安装应用程序而不会崩溃(至少目前如此)。
使用以下命令(android/sdk/emulator)启动您的 AVD:
emulator -avd <name-with-_-instead-of-spaces>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.