Emulator: emulator: ERROR: This AVD's configuration is missing a kernel file! Please ensure the file "kernel-ranchu" is in the same location as your system image.

  Emulator: emulator: ERROR: ANDROID_SDK_ROOT is undefined

  Emulator: Process finished with exit code 1

第一步:确保你选择的cpu架构的系统映像已经下载,我之前用的是x86镜像,现在改成armeabi-v7a,所以在它前面打上勾,下面的x86去掉勾,apply。

ERROR: ANDROID_SDK_ROOT is undefined

invalidate caches/restart 之后还报错的话,进行第二步:

进入到这个目录:C:\Users\wadew\AppData\Local\Android\Sdk\system-images

把google_apis下面的kernel-ranchu复制到default文件夹下面

ERROR: ANDROID_SDK_ROOT is undefined

ERROR: ANDROID_SDK_ROOT is undefined

 

参考文章:

https://lengerrong.blogspot.com/2017/04/error-this-avds-configuration-is.html

https://stackoverflow.com/questions/36729150/is-it-possible-to-run-android-device-emulator-via-android-studio-2-on-vmware

相关文章:

  • 2022-12-23
  • 2022-01-07
  • 2022-12-23
  • 2021-07-05
  • 2021-08-08
  • 2021-09-20
  • 2021-08-04
  • 2021-09-10
猜你喜欢
  • 2022-12-23
  • 2021-05-24
  • 2022-03-09
  • 2021-08-01
  • 2022-12-23
  • 2021-12-06
  • 2021-07-25
相关资源
相似解决方案