While running the emulator on the android studio, my Event Log
:
17:11 Executing tasks: [:app:assembleDebug]
17:11 Emulator: Warning: Quick Boot / Snapshots not supported on this machine. A CPU with EPT + UG features is currently needed. We will address this in a future release.
17:11 Emulator: Warning: requested RAM 1536M too high for your system. Reducing to maximum supported size 512M
17:11 Emulator: C:\Users....\AppData\Local\Android\Sdk\emulator\qemu\windows-x86\qemu-system-x86_64.exe: Could not load library WinHvPlatform.dll.
17:11 Emulator: C:\Users....\AppData\Local\Android\Sdk\emulator\qemu\windows-x86\qemu-system-x86_64.exe: failed to initialize WHPX: Function not implemented
17:11 Emulator: Process finished with exit code 0
17:11 Gradle build finished in 2 s 704 ms
All the bold sentence were shown in RED
color.
I am getting Notification
as:
Emulator: C:\Users....\AppData\Local\Android\Sdk\emulator\qemu\windows-x86\qemu-system-x86_64.exe: failed to initialize WHPX: Function not implemented
I tried to solve the issue with reference: https://stackoverflow.com/a/52587220/7678788 (I was unable to change it) so, I took help of https://stackoverflow.com/a/52342344/7678788, but this also didn't solve the issue.
My SDK Platform and SDK Tools are of the latest version.
How to fix this issue?
UPDATE
I have also installed the latest Intel x86 Emulator Accelerator (HAXM)
and tried to run the emulator, my Event Log
:
19:11 Executing tasks: [:app:assembleDebug]
19:11 Emulator: Warning: Quick Boot / Snapshots not supported on this machine. A CPU with EPT + UG features is currently needed. We will address this in a future release.
19:11 Emulator: Warning: requested RAM 1536M too high for your system. Reducing to maximum supported size 512M
19:11 Gradle build finished in 8 s 357 ms
19:11 Emulator: Process finished with exit code 0
All the bold sentence were shown in RED
color.
Try installing the Intel x86 Emulator Accelarator (HAXM) and reboot the device. Make sure the emulator is installed properly and reboot Android Studio.