Issue
I create a new virtual device in Android Studio. When I attempt to start it, I get the following error message:
Cannot launch AVD in emulator.
Output:
emulator: WARNING: Increasing RAM size to 1024MB
emulator: WARNING: VM heap size set below hardware specified minimum of 384MB
emulator: WARNING: Setting VM heap size to 384MB
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAXM must be updated (version 1.1.1 < 6.0.1).
How can I fix this error?
Solution
You will need to actually install the Intel HAXM in order to use it:
Windows
- In your Android SDK folder, look in
extras\intel\Hardware_Accelerated_Execution_Manager\
- Run
intelhaxm-android.exe
Mac
Open the HAXM directory
cd $ANDROID_HOME/extras/intel/Hardware_Accelerated_Execution_Manager
or, if
$ANDROID_HOME
is not set (i.e. if you're getting an error " No such file or directory"), trycd /Users/$USER/Library/Android/sdk/extras/intel/Hardware_Accelerated_Execution_Manager
Run the installer:
- Mount the HAXM
*.dmg
file, then run the*.mpkg
contained inside it
or
- Execute
$ ./silent_install.sh
- Mount the HAXM
Answered By - Ravi Vaghela
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.