I have got an AMD Ryzen CPU and Android emulator doesn't work
Update - My previous answer is no longer true. Google has added AMD and Hyper-V support into their latest beta. Thanks to ReverseCold for letting me know. Please see his answer below.
Update 2 - I had to set this up today. To save some googling, here is the powershell command to enable Hyper-V. Pulled from Microsoft's Docs
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
Make sure to run powershell as an administrator.
Update 3 - Turns out there's a difference between Windows Hypervisor Platform and Hyper-V. You'll need to enable the first one for Android emulation to work. Just click start and type Turn Windows features on or off until you see the control panel option of the same name. Then enable the feature from the menu that pops up after clicking that.
According to This answer, AMD virtualization for Android is only supported on Linux. If Ryzen becomes hugely popular, maybe they'll write one for Windows, but I won't be holding my breath.
The latest beta has support for Ryzen. Source
The following is from the google blog post: If you have an AMD processor in your computer you need the following setup requirements to be in place:
- AMD Processor - Recommended: AMD® Ryzen™ processors
- Android Studio 3.2 Beta or higher - download via Android Studio Preview page
- Android Emulator v27.3.8+ - download via Android Studio SDK Manager
- x86 Android Virtual Device (AVD) - Create AVD
- Windows 10 with April 2018 Update
- Enable via Windows Features: "Windows Hypervisor Platform"
Here is a list of ways to get around it:
- genymotion personal is free but you need to register
- Visual studio android emulator is also free and is fast. I had issues with it disconnecting on android studio
- Physical device. You will have a hard time trying to see the sqlite database if it isn't rooted.
With the physical device you can download Vysor on play store and install the extension on google chrome. Then you can have the physical device on your monitor.