Android Studio:使用模拟器退出代码2?

时间:2018-09-24 00:06:21

标签: android android-studio android-emulator

android studio模拟器无法运行,并且出现此错误:

Emulator: [4516]:ERROR:android/android-emu/android/qt/qt_setup.cpp:28:Qt library not found at C:\Users\School\AppData\Local\Android\Sdk\emulator\lib64\qt\lib
Emulator: Could not launch 'C:\Users\School\AppData\Local\Android\Sdk\emulator/qemu/windows-x86_64/qemu-system-i386.exe': No such file or directory
Emulator: Process finished with exit code 2

适用于Windows 64位的android studio版本为3.1.4。请帮我解决这个问题!

1 个答案:

答案 0 :(得分:5)

转到:

Tools -> Android -> SDK Manager

在Android Studio上,尝试安装Android模拟器:

enter image description here

但是,如果这样做没有帮助,请从Android Studio转到-> AVD Manager,重新下载AVD图像,然后应该消失了。