I am trying to start a virtual device with the AVD Manager and I noted that the problem occurs with devices with Androids OS olders than Android 6.0 (API 23).
I'm working with Xamarin.Android C# (Visual Studio) and the device that I need to start is one with Android 8.1 (API 27 Intel Atom x86) but when I try to start it the error message appears: "kernel-qemu".
Error:
Starting emulator for AVD 'Ocho'
emulator: ERROR: This AVD's configuration is missing to kernel file! Please ensure the file "kernel-qemu" is in the same location as your system image.
emulator: ERROR: ANDROID_SDK_ROOT is defined (C: \ Program Files (x86) \ Android \ android-sdk \) but can not find kernel file in C: \ Program Files (x86) \ Android \ android-sdk \\ system-images \ sub directories
I checked the folder where it should be and there is only one file named "kernel-ranchu-64", I've already tried things like renaming the "ranchu" to "qemu" but it does not work.
I do not know what else to try. Does anyone have that kernel-qemu file that I need to run the emulator?
qemu-Error-Image
SDK Build Tools are not installed You look at the build tab at the bottom of the screen, it will display the error message and option to install the Build tools. Install it and you should be able to see the AVD Manager. Another way is to go to the SDK Manager. Under SDK Tools you will find the Android SDK Build tools.
After you've your project open, go to Tools => Android => AVD Manager .
IN Folder 'system-images'
find the files named : kernel-XXXXX
change the names to kernel-qemu
that works.
I fixed this by using a virtual device with Android 9.0. Also, another option is to use Genymotion.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With