Reputation: 372
I recently upgrade to the latest android studio, although i had not use it in a long time. My code build up and sync successful but I get the error below each time I tried to the app in an emulator. pls note, I use Window 10 on AMD based system
Emulator: emulator: ERROR: x86 emulation currently requires hardware acceleration
I had installed and enable "Intel HAXM". I have browsed through a few similar question but none provides a solution.
Please not this question is a different scenario to what you have the question Emulator: ERROR: x86 emulation currently requires hardware acceleration:
Upvotes: 0
Views: 1361
Reputation: 245
The answer you posted is just a workaround.
As a i solution (i have the same AMD platform - 2700X my cpu), you need to enable from BIOS - your virtualisation technology (i have a Aorus motherboard and its called SMT), and then from the OS - Turn Windows Features ON or OFF - install
After this option is installed, you should be able to run the AVD with proper emulation. I already uninstalled HAXM and had no issues without it.
Also, i did not install any Hyper-V
PS: As of 26 Oct 2019, Google added support for AMD CPU as per their blog: https://androidstudio.googleblog.com/2019/10/android-emulator-hypervisor-driver-for.html You need to make sure you disable the previous settings provided by me up above, and follow their guide.
Upvotes: 1
Reputation: 372
I found the answer by Alex8752 on the post Android Studio - How Can I Make an AVD With ARM Instead of HAXM? as guideline to resolve the above issue.
Basically since I use AMD system, I downloaded and installed arm* image from "Other Image" within System Image (I will recommend armeabi-v7a for x86-64 based systems). Thanks to everyone.
Upvotes: 0