Share via

Android Studio Device Emulator not working since 21292

Anonymous
2021-02-01T15:16:35+00:00

Since the 21292 update I can't manage to make the Official Android Emulator to work in Windows. When I rollback to 210218 the emulator back to work fine.

The log from android studio shows erros in the virtual processor, but it's evething configurated right, again the emulator works fine with same bios config in 210218.  Bellow I have two different logs obtained when tried to run?

2021-02-01 11:30:52,762 [  26707]   INFO - manager.EmulatorProcessHandler - Emulator: C:\Users\leona\AppData\Local\Android\Sdk\emulator\emulator.exe -netdelay none -netspeed full -avd Galaxy_S20_API_29 

2021-02-01 11:30:52,785 [  26730]   INFO - ild.invoker.GradleBuildInvoker - Build command line options: [-Pandroid.injected.invoked.from.ide=true, -Pandroid.injected.studio.version=10.4.1.2.201.8743.12.41.7042882, -Pandroid.injected.attribution.file.location=C:\Users\leona\AppData\Local\Temp\1612189852783-0, -Pandroid.injected.build.api=29, -Pandroid.injected.build.density=xxhdpi, -Pandroid.injected.build.abi=x86_64,x86] 

2021-02-01 11:30:53,267 [  27212]   INFO - manager.EmulatorProcessHandler - Emulator: handleCpuAcceleration: feature check for hvf 

2021-02-01 11:30:53,608 [  27553]   INFO - manager.EmulatorProcessHandler - Emulator: added library vulkan-1.dll 

2021-02-01 11:30:53,630 [  27575]   INFO - xecution.GradleExecutionHelper - Passing command-line args to Gradle Tooling API: -Pandroid.injected.invoked.from.ide=true -Pandroid.injected.studio.version=10.4.1.2.201.8743.12.41.7042882 -Pandroid.injected.attribution.file.location=C:\Users\leona\AppData\Local\Temp\1612189852783-0 -Pandroid.injected.build.api=29 -Pandroid.injected.build.density=xxhdpi -Pandroid.injected.build.abi=x86_64,x86 

2021-02-01 11:30:53,654 [  27599]   INFO - manager.EmulatorProcessHandler - Emulator: Windows Hypervisor Platform accelerator is operational 

2021-02-01 11:30:53,868 [  27813]   INFO - id.tools.idea.ddms.DevicePanel - Device connected: emulator-5554 

2021-02-01 11:30:53,886 [  27831]   INFO - manager.EmulatorProcessHandler - Emulator: emulator: INFO: GrpcServices.cpp:288: Started GRPC server at 127.0.0.1:8554, security: Local 

2021-02-01 11:30:53,979 [  27924]   INFO - manager.EmulatorProcessHandler - Emulator: emulator: WARNING: UpdateCheck: Failure: Couldn't resolve host name 

2021-02-01 11:30:53,979 [  27924]   INFO - manager.EmulatorProcessHandler - Emulator: emulator: WARNING: UpdateCheck: failed to get the latest version, skipping check (current version '30.3.5-7033400') 

2021-02-01 11:30:54,646 [  28591]   INFO - manager.EmulatorProcessHandler - Emulator: C:\Users\leona\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: WHPX: Failed to get virtual processor registers, hr=c0350005 

2021-02-01 11:30:54,646 [  28591]   INFO - manager.EmulatorProcessHandler - Emulator: C:\Users\leona\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: WHPX: Failed to emulate MMIO access with EmulatorReturnStatus: 64 (GetVirtualProcessorRegistersCallbackFailed ) 

2021-02-01 11:30:54,646 [  28591]   INFO - manager.EmulatorProcessHandler - Emulator: C:\Users\leona\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: whpx_vcpu { emulator=00000255F298F740, window_registered=false, interruptable=true, tpr=0, apic_base=fee00800, interruption_pending=false } 

2021-02-01 11:30:54,646 [  28591]   INFO - manager.EmulatorProcessHandler - Emulator: C:\Users\leona\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: WHV_MEMORY_ACCESS_CONTEXT { Instruction={ size=16, bytes='8B B0 F0 00 00 00 89 35 E1 F3 3B 01 48 C7 C7 40 ' }, AccessInfo={ AccessType=0, GpaUnmapped=1, GvaValid=0, AsUINT32=4 }, Gpa=fed000f0, Gva=0 } 

2021-02-01 11:30:54,646 [  28591]   INFO - manager.EmulatorProcessHandler - Emulator: C:\Users\leona\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: WHPX: Failed to exec a virtual processor 


2021-02-01 11:56:26,154 [1560099]   INFO - manager.EmulatorProcessHandler - Emulator: C:\Users\leona\AppData\Local\Android\Sdk\emulator\emulator.exe -netdelay none -netspeed full -avd Pixel_4_XL_API_29

2021-02-01 11:56:26,407 [1560352]   INFO - manager.EmulatorProcessHandler - Emulator: handleCpuAcceleration: feature check for hvf

2021-02-01 11:56:26,531 [1560476]   INFO - manager.EmulatorProcessHandler - Emulator: added library vulkan-1.dll

2021-02-01 11:56:26,547 [1560492]   INFO - manager.EmulatorProcessHandler - Emulator: Windows Hypervisor Platform accelerator is operational

2021-02-01 11:56:26,734 [1560679]   INFO - id.tools.idea.ddms.DevicePanel - Device connected: emulator-5554

2021-02-01 11:56:26,749 [1560694]   INFO - manager.EmulatorProcessHandler - Emulator: emulator: INFO: GrpcServices.cpp:288: Started GRPC server at 127.0.0.1:8554, security: Local

2021-02-01 11:56:26,904 [1560849]   INFO - manager.EmulatorProcessHandler - Emulator: C:\Users\leona\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: WHPX: Failed to get virtual processor registers, hr=c0350005

2021-02-01 11:56:26,904 [1560849]   INFO - manager.EmulatorProcessHandler - Emulator: C:\Users\leona\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: WHPX: Failed to emulate PortIO access with EmulatorReturnStatus: 64

2021-02-01 11:56:26,904 [1560849]   INFO - manager.EmulatorProcessHandler - Emulator: C:\Users\leona\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: WHPX: Failed to exec a virtual processor

2021-02-01 11:56:28,940 [1562885]   INFO - manager.EmulatorProcessHandler - Emulator: emulator: Android emulator version 30.3.5.0 (build_id 7033400) (CL:N/A)

2021-02-01 11:56:28,940 [1562885]   INFO - manager.EmulatorProcessHandler - Emulator: Process finished with exit code -1073740791 (0xC0000409)

2021-02-01 11:56:28,940 [1562885]   WARN - manager.EmulatorProcessHandler - Emulator terminated with exit code -1073740791

2021-02-01 11:56:29,165 [1563110]   INFO - id.tools.idea.ddms.DevicePanel - Device disconnected: emulator-5554

Windows Insider program | Windows Insider preview | Devices and drivers

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

7 answers

Sort by: Most helpful
  1. Anonymous
    2021-03-09T23:28:14+00:00

    This is now resolved Build 21327.rs_prerelease.210226-1427

    The fix my be related to just removing the *.lock folder located in %USERPROFILE%.android\avd{yourAVDFolder}\*.lock

    The latest release started prompting me to delete this folder and when I did the emulator launched finally as normal

    I believe the latest release may have just updated the error message telling us what to do

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2021-02-01T15:42:38+00:00

    I posted a comment there, here is the link: https://aka.ms/AAb00bx

    I Have a older issue open too: https://aka.ms/AAb0dlv

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2021-02-02T23:50:07+00:00

    Same problem. I tried using Android Studio and Visual Studio to launch emulators and both fail. I'mn using Build 21301

    Error from Visual Studio

    Image

    Error from Android Studio

    Image

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2021-02-01T15:47:21+00:00

    Thanks!

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2021-02-01T15:28:18+00:00

    Please file it in Feedback Hub and share the link with me.

    -Eddie

    Was this answer helpful?

    0 comments No comments