Tag Archives: Android AVD

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

Android AVD Run Error: emulator: ERROR: x86_64 emulation currently requires hardware acceleration! Pleas…

Open the Android SDK manager to check the installation. It is found that haxm cannot be installed on windows

You can go http://www.androiddevtools.cn/index.html Download the Android SDK extras and unzip the hardware_ Accelerated_ Execution_ Manager to the Android SDK windows extras Intel directory, and then manually click intelhaxm-android.exe to install note that if you install Android SDK version 9.0, there is no corresponding version of extras package for the time being,

Error will be reported and the version needs to be updated: haxm must be updated (Version 1.1.1)

In addition, in terms of hardware support, an error will be reported here:

If the error “Intel virtualization technology (VT, VT-x) is not enabled” is displayed, enter BIOS and open “hardware virtualization”
Restart Android studio and then restart AVD

At this time, an error is reported: emulator window was out of view and was recentered vcpu shutdown request

Or vcpu shutdown request

Solution:

1. Create a new virtual machine, click start, and check “wipe user data”

2. Download Hmax_ 6.0.5 unzip and put it in… – Android SDK/Extras/Intel/hardware_ Accelerated_ Execution_ Manager (clear this folder first and then check in) to install Hmax again