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:
- [Solved] nvidia-smi Error: Failed to initialize NVML: Driver/library version mismatch
- Android Studio Emulator: PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT (Solved)
- Solutions to the phenomena of / dev / sda2 clean and / dev / sda2 recovering journal when starting Ubuntu
- [Solved] PANIC: Missing emulator engine program for ‘x86’ CPUS.
- [Solved] after installing Ubuntu 16.04, you cannot enter the graphical interface after restarting (error/dev/sda2: clean…)
- Android Studio: Waiting target device come online
- Centos7: How to Install GPU v100 Driver
- OBS Error: obs has crashed! [How to Solve]
- AS Install Error: Cannot find AVD system path. Please define ANDROID_SDK_ROOT
- How to connect Android mobile phone with ADB & reasons and solutions of unable to connect to 192.168.1.100:5555