ERROR: This AVD's configuration is missing a kernel file

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: ERROR: ANDROID_SDK_ROOT is undefined



When you try to launch a emulator device with arm image, you might got such error.
The key point to fix it is to ensure that the corresponding arm system image installed(same to the image you selected when create your virtual image,
you can check http://lengerrong.blogspot.com/2017/04/failure-installfailednomatchingabis.html).

For my case, I have to ensure ARM EABI v7a System Image Installed.
 












Once the correct image installed, the virtual device can be run well.
PS: run arm image on x86 host, the speed will be 10x lower.

Run emulator command:
C:\Users\lenger\AppData\Local\Android\Sdk\tools\emulator.exe -netdelay none -netspeed full -avd 24

Comments

  1. This article is a creative one and the concept is good to enhance our knowledge. Waiting for more updates.
    Android Development Course Online
    Online Courses for Content Writing

    ReplyDelete
  2. I read this blog, Nice article...Thanks for sharing and waiting for the next...

    c++ training in coimbatore

    ReplyDelete

Post a Comment

Popular posts from this blog

How to fix error : no module named sendgrid when try to use sendgrid python lib in PHP.

react-native run-android : sun.security.provider.cert path.SunCertPathBuilderException : unable to find valid certification path to req uested target

react-native run-android : do not build/update modified code(App.js)