简体   繁体   English

无法在Android Studio的模拟器中启动AVD

[英]Cannot launch AVD in emulator in Android Studio

When I'm trying to run my application in Android Studio I get this error message: 当我尝试在Android Studio中运行应用程序时,出现以下错误消息:

  Cannot launch AVD in emulator. Output: emulator: WARNING: encryption is off Hax is enabled Hax ram_size 0x40000000 HAX is working and emulator runs in fast virt mode. emulator: WARNING: UpdateCheck: Failure: Error audio: Failed to create voice goldfish_audio_in'
    qemu-system-i386.exe: warning: opening audio input failed
    audio: Failed to create voiceadc' emulator: WARNING: UpdateCheck: Failure: Error emulator: WARNING: UpdateCheck: failed to get the latest version, skipping check (current version '26.0.0-3833124')

Ok so do you already have an emulator of the same instance started on your computer ? 好的,您是否已经在计算机上启动了相同实例的仿真器? Android Studio gives you the freedom to run multiple emulators at once, but not of the same instances, so if you are already running the Nexus "device" with API 22, you cannot start it again. Android Studio让您可以一次运行多个仿真器,但不能一次运行多个仿真器,因此,如果您已经在运行带有API 22的Nexus“设备”,则无法再次启动它。

Please check the link, if that is the problem: How to run multiple avd in android studio? 请检查链接,如果是这样的话: 如何在android studio中运行多个avd?

If not, it might me an error caused by Android Studio itself. 如果不是,那可能是我由Android Studio本身引起的错误。 Try to clear cache and restart,or restart your computer if the first does not solve your problem. 尝试清除缓存并重新启动,或者如果第一个不能解决您的问题,请重新启动计算机。 Also, try to create another AVD and try to run that one ( aside from the Nexus Api 22 ). 另外,尝试创建另一个AVD并尝试运行该AVD(除了Nexus Api 22之外)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM