Android 9.+ emulator does not start

后端 未结 4 1080
抹茶落季
抹茶落季 2021-01-15 17:31

All AVD images work on my machine except for Android 9.+ (Google Play) & Android 9.+ (Google APIs) (the Android Studio emulator for Android Q b

4条回答
  •  醉话见心
    2021-01-15 17:54

    You need to configure correctly the Hardware Acceleration for your Emulator. Please, follow these steps:

    1) Install the Intel HAXM driver if you are on Windows and have Intel, follow these steps:

    • Open the SDK Manager.
    • Click the SDK Update Sites tab and then select Intel HAXM.
    • Click OK.
    • After the download finishes, run the installer. Typically, you can find the installer in the following location: sdk\extras\intel\Hardware_Accelerated_Execution_Manager\intelhaxm-android.exe
    • Use the wizard to complete the installation.
    • After installing Intel HAXM, confirm that the virtualization driver is operating correctly by entering the following command in a Command Prompt window:
        sc query intelhaxm
    

    You should see a status message that includes the following information:

    SERVICE_NAME: intelhaxm
           ...
           STATE              : 4  RUNNING
           ...
    

    For Linux, check this link

    For Mac, check this link

    2) Open AVD Manager on Android Studio:

    • Edit the Virtual Device where you set target Android Q
    • Click Show Advanced Settings.
    • Set Graphics to Automatic or Hardware.

提交回复
热议问题