Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

“kernel-qemu” is missing. - AVD Manager

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

like image 256
KennyAli Avatar asked Jan 27 '19 04:01

KennyAli


People also ask

Why is my AVD Manager not working?

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.

How do I run AVD Manager in Linux?

After you've your project open, go to Tools => Android => AVD Manager .


2 Answers

IN Folder 'system-images'

find the files named : kernel-XXXXX

change the names to kernel-qemu

that works.

like image 163
Oakley Z Avatar answered Sep 28 '22 00:09

Oakley Z


I fixed this by using a virtual device with Android 9.0. Also, another option is to use Genymotion.

like image 27
KennyAli Avatar answered Sep 28 '22 00:09

KennyAli