I had Android Studio with AMD TR 2950x android emulator was working perfectly then suddenly it start to give me this error with this messages :
10:30 AM Emulator: qemu-system-x86_64.exe: WHPX: Failed to emulate MMIO access with EmulatorReturnStatus: 2 (InternalEmulationFailure )
10:30 AM Emulator: qemu-system-x86_64.exe: whpx_vcpu { emulator=000000000ec95f70, window_registered=false, interruptable=true, tpr=0, apic_base=fee00900, interruption_pending=false }
10:30 AM Emulator: qemu-system-x86_64.exe: WHV_MEMORY_ACCESS_CONTEXT { Instruction={ size=16, bytes='A1 F0 00 E0 FE 80 CC 01 A3 F0 00 E0 FE C7 05 50 ' }, AccessInfo={ AccessType=0, GpaUnmapped=1, GvaValid=0, AsUINT32=4 }, Gpa=fee000f0, Gva=0 }
10:30 AM Emulator: qemu-system-x86_64.exe: WHPX: Failed to exec a virtual processor
10:30 AM Emulator: Warning: QObject::~QObject: Timers cannot be stopped from another thread ((null):0, (null))
10:30 AM Emulator: Process finished with
Update Windows to insder preview build 10.0.18890
https://developercommunity.visualstudio.com/content/problem/528337/whpx-problem-android-emulator.html
For a solution without having to join the Windows Insider Program and update to the Windows Insider Preview you can install KB4545903 directly (which is the only KB downloaded and installed by joining the release preview) which should fix the emulator issue on AMD.
Assuming you're running 64bit system, download the CAB file here.
Then install it with an elevated command prompt:
DISM /Online /Add-Package /PackagePath:”Full path of .cab file”
After a restart, you should be good to go.
Props to this medium post for the answer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With