2
Summary:
- I'm not being able to execute the Android Emulator or even the Nox App Player.
- I think that there could be a problem with adb or I could be missing something.
After 3 days of trying to find something like a solution or thread with no success, I decided to come here.
First, I want to say a few things:
- I've just reinstalled my Windows (Windows 10 Pro) from 0, I mean downloaded a Windows 10 ISO, booted a USB and etc because It had no more disk space and I didn't know where the "trash" files that were consuming the space could be located [I had to reinstall Windows from scratch because Restart PC option at Windows Settings didn't work].
- I've installed the pertinent Drivers of my PC, after that, I decided to start installing Git, GitHub, Android Studio, JDK, Nox, Sublime Text, Steam, IntelliJ IDEA, etc. All this (Drivers and programs) downloaded from their respective sites, and not by using previous files.
- I went to Windows and Features, activated Virtual Hypervisor Platform as a thread of Android Studio specifies here as a requirement.
- I set up Android Studio and etc to start using it; Then I installed everything (SDK [I Don't know why but I had to manually create 2 new folders called "Android" and inside of it the "SDK" folder at AppData/Local/... so Android Studio could Download and Install the SDK folder content], Android x86 System Images: Irrelevant but: 5.0 and 7.0. after that I proceeded to install the Android Emulator at SDK Tools from Settings in Android Studio.
Said that I have to add that I had SVM in the BIOS activated before re-installing Windows, because before uninstall and re-install it I was being able to use Nox App Player (An 'Android Emulator') and any x86 Android System Image in my Android Studio.
I've tried by activating Hyper-V and deactivating it, or activating both Hyper-V and Virtual Hypervisor Platform but no matter what I keep getting the same error messages when I try to execute the Android Studio Emulator:
A little appointment: The timeline [1:47 - 1:48] looks like if it would take 1 minute between "errors" but the truth is that it was just coincidence, all was in like 3 seconds
1:47 PM * daemon not running; starting now at tcp:5037
1:47 PM * daemon started successfully
1:48 PM Emulator: C:\Users\Suegr\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-i386.exe: WHPX: Failed to emulate MMIO access with EmulatorReturnStatus: 2 (InternalEmulationFailure )
1:48 PM Emulator: C:\Users\Suegr\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-i386.exe: whpx_vcpu { emulator=000000003227ba30, window_registered=false, interruptable=true, tpr=0, apic_base=fee00900, interruption_pending=false }
1:48 PM Emulator: C:\Users\Suegr\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-i386.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 }
1:48 PM Emulator: C:\Users\Suegr\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-i386.exe: WHPX: Failed to exec a virtual processor
1:48 PM Emulator: Warning: QObject::~QObject: Timers cannot be stopped from another thread ((null):0, (null))
1:48 PM Emulator: Process finished with exit code 3
I don't know If I'm missing something, something like... let's call it 'feature' that doesn't allow me to use emulators.
With "external" Android Emulators like Nox App Player, for example, I get the Blue Screen of Dead (BSoD)
Recently I've deactivated the SVM setting from the BIOS, and that allowed me to open and use Nox App Player. But as I said, before the re-install of Windows I was able to use everything without further problems, I had a BSOD problem with Nox App Player but just If I had Hyper-V activated while tried to execute it.
Relevant PC Specs I guess that it doesn't matter but the Windows 10 isn't OEM version (Original Equipment Manufacturers).
What build of Windows 10 did you install? It appears there is currently an issue with Android Studio on Windows 10 version 1903 if you use WHPX. The issue does not exist for intel HAXM. – Ramhound – 2019-06-02T04:28:55.927
It worth pointing out that in order to use WHPX, and thus Android Studio on a system with an AMD processor, Android Studio requires AMD-V to be enabled. AMD Secure Virtual Machine (SVM) does not exist on your particular hardware (or it should not since it was renamed to AMD-V). Additionally, Virtual Hypervisor Platform not Hyper-V is required if you have AMD hardware. It is worth pointing out your question is confusing. You have a lot of detail, most isn't about the error or Android Studio.\
– Ramhound – 2019-06-02T04:40:49.483@Ramhound 10.0.18362 Build 18362. I haven't activated the Windows Insider Program yet. – Suegro LM – 2019-06-02T13:57:46.850
@Ramhound Yes, well I enclosed all that information because despite being usually irrelevant information, sometimes one of those attaches helps find a solution or the root of the problem, it is also this process that leads me to this situation. In my BIOS it says "SVM", probably I've to update it? I haven't done it since I bought it. Thank you for your feedback/comments/help – Suegro LM – 2019-06-02T14:15:59.573