Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
257 views
in Technique[技术] by (71.8m points)

android - Error while starting emulator

I am running an android application on emulator. It was working fine till yesterday and today I updated android studio. I am getting following error. How to resolve this?

emulator: WARNING: Increasing RAM size to 1GB 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).

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Start the Android SDK Manager, select Extras and then select Intel Hardware Accelerated Execution Manager. and your download completed here.

if still not works

Got to your SDK folder and goto

/extras/intel/Hardware_Accelerated_Execution_Manager/IntelHAXM.exe.

Follow the on-screen instructions to complete installation.

Or for OS X you can do it without onscreen prompts like this

/extras/intel/Hardware_Accelerated_Execution_Manager/HAXM installation

After installation completes, confirm that the virtualization driver is operating correctly by opening a command prompt window and running the following command: sc query intelhaxm

To run an x86-based emulator with VM acceleration: If you are running the emulator from the command line, just specify an x86-based AVD: emulator -avd <avd_name>

Also before executing the commands mentioned above, ensure that you've enabled the 'Virtualization' in your system setting through BIOS setup

If you follow all the steps mentioned above correctly, then surely you should be able to see your AVD with HAXM coming up normally.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...