启动虚拟机出现cannot launch AVD in emulator

启动虚拟机出现这个报错


PANIC: HOME is defined but could not find Nexus_4_API_22.ini file in $HOME/.android/avd (Note: avd is searched in the order of $ANDROID_AVD_HOME,$ANDROID_SDK_HOME/.android/avd and $HOME/.android/avd)

解决方案:

sudo apt-get update && sudo apt-get install mesa-utils
  • 1
ioctl(KVM_CREATE_VM) failed: 16 设备或资源忙
failed to initialize KVM: 设备或资源忙 
Error running app: This version of Android Studio is incompatible with the Gradle Plugin used. Try disabling Instant Run (or updating either the IDE or the Gradle plugin to the latest version)

查看IDE和gradle版本是否都是最新的

SDK版本过低导致,更新一下SDK版本就ok了

猜你喜欢

转载自blog.csdn.net/code_dreamers/article/details/80785525