I have got an AMD Ryzen CPU and Android emulator doesn't work

前端 未结 10 1253
情歌与酒
情歌与酒 2020-12-13 06:50

I have got an AMD Ryzen CPU and Android emulator doesn\'t work. It doesn\'t start the emulator becouse the CPU doesn\'t support the x86 emulator

相关标签:
10条回答
  • 2020-12-13 07:16

    Yeah I have AMD CPU somehow it works now.

    I don't have x86 installed by HAXM and it still works strange.

    Gigabyte CPU/AMD Ryzen 7 ->

    MIT Settings -> frequency settings -> advanced -> have SVM enabled

    1. Go to windows turn on and off feature -> if you're using windows home, not pro edition, then you need to find "windows Hypervision platform" then check mark it.

    2. Create a new AVD virtual device, the newest version may or may not work. You have to do trial and error with different API versions like 25, 26, or newest one.

    3. Somehow on SDK Tools, i don't have x86 intel HAXM installed, and it works fine? Does anyone know why it works without intel x86 on my AMD CPU? When i uninstalled it and did everything else again, it finally worked... Strange..

    0 讨论(0)
  • 2020-12-13 07:19

    If you have an AMD processor in your computer you need the following setup requirements to be in place:

    1. AMD Processor - Recommended: AMD® Ryzen™ processors
    2. Android Studio 3.2 Beta or higher - download via Android Studio Preview page
    3. Android Emulator v27.3.8+ - download via Android Studio SDK Manager
    4. x86 Android Virtual Device (AVD) - Create AVD
    5. Windows 10 with April 2018 Update
    6. Enable via Windows Features: "Windows Hypervisor Platform"

    **Note:There is Hyper-V features... You should enable Windows Hypervisor Platform not Hyper-V. Windows Hypervisor Platform is at the bottom of features **

    0 讨论(0)
  • 2020-12-13 07:26

    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"
    0 讨论(0)
  • 2020-12-13 07:28

    A related question was asked here - Ryzen 3 with VS android emulator - I've responded there and so thought to cross-link in case others missed it.

    This might help you:

    https://www.reddit.com/r/Amd/comments/cgpaq4/ryzen_android_emulator_whpx_fix_for_windows/

    The issue seems to be to do with Windows and has been fixed in the insider builds - you can get it working by following the link above, and without having to become a Windows Insider.

    --

    0 讨论(0)
提交回复
热议问题