Android AVD startup error [How to Solve]

AVD startup error

1. Prompt: Android_SDK_ROOT is undefined/  ERROR: This AVD’s configuration is missing a kernel file! Please ensure the file “kernel-qemu” is in the same location as your system image.

On Windows:

Open CMD

Input:

setx -m ANDROID_SDK_Root ‘– Path — to — SDK –‘
on MAC/Linux:

Open terminal/shell

Type:

export ANDROID_SDK_Root = ‘– Path — to — SDK –‘
replace — Path – to – SDK — ‘with your SDK path

2. Tips:   Emulator: emulator: ERROR: Could not initialize OpenglES emulation, use ‘-gpu off’ to disable it.

Method 1:
– update the graphics card driver of your operating system
– restart your system
– set the screen resolution of your system as high as possible
– try your AVD from now on
method 2:
– if method 1 fails, enter AVD manager
– edit your AVD
– uncheck the “use host GPU” option
– click Finish (save)
– start AVD again

 

note : if it is an AMD CPU, you need to use the following ABI instead of X86. It defaults to Intel CPU; Otherwise, an error is reported or it cannot be started

Similar Posts: