Loading Blog Search...

Tuesday, May 07, 2019

AMD emulator on Hyper-V

AMD CPU based Android emulator is working according to the blog. However, when I tried it with Android Studio 3.4, it kept crashing with error messages like:

Android\android-sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: WHPX: Failed to exec a virtual processor

Luckily, after my Windows was upgraded to insider preview version 18890.1000, the emulator is working now. And it's a surprise to be much faster than emulator on my old i7 CPU.




Saturday, March 30, 2019

Visual Studio Xaramin debug with Bluestacks

Got a AMD Lenovo A485 with Windows 10 Home, which does not have Hyper-V.  To use it for Visual Studio Xamarin experiments, I want a native Android emulator. Although it can install AMD native Android emulator, with hypervisor windows platform enabled, it does not allow other VMs to be installed, e.g., using Virtualbox. Luckily, Android VMs on Virtualbox or VMWare with TCP/IP based remote ADB support are able to act as Emulator. Bluestacks is another choice.


  • Install bluestacks
  • Enable ADB in bluestacks, this will open 5555 port to connect from Visual Studio

  • Goto Android install directory/android-sdk/platform-tools, run
adb connect localhost:5555
  • For Visual Studio Xamarin Android project, you then could find a new Android device to deploy to.