(Vulkan 1.0 APIs missing from instance) when launching Android Emulator(Q API 29) via Android Studio 3.5 and 3.6 Canary 9

前端 未结 4 1183
误落风尘
误落风尘 2021-01-02 03:28

I created three AVDs base on Android Q (API 29), using these system images:
Android 10(Google Play), Android 10(Google APIs), Android 10.

All of these emulators

相关标签:
4条回答
  • 2021-01-02 03:52

    I had similar issues that were not fixed with the installation hints above.

    I finally solved the problem following this instructions to Configure VM acceleration on Linux: https://help.ubuntu.com/community/KVM/Installation

    My problem turned out to be wrong user-groups configuration. The following commands finally made it work for me:

    $ sudo adduser libvirtd

    $ sudo chown root:libvirtd /dev/kvm

    0 讨论(0)
  • 2021-01-02 04:05

    I had the same problem, you have to update your emulator in sdk manager:

    1.launch sdk manager

    2.settings->appearance and behavior->system settings->android sdk

    3.SDK Tools

    1. Update Android Emulator

    0 讨论(0)
  • 2021-01-02 04:14

    I had the same issue on my system - Ubuntu 19.10 and Android Studio 3.5.3. Except I had a "Vulkan 1.1 APIs missing from instance" error and my emulator was running slow.

    The issue is not with the emulator, it's with your host system. Your host system doesn't have support for the Vulkan APIs that the new Android 10 emulator uses.

    To fix this, I had to install a newer version of the mesa packages from a third-party PPA.

    The steps to do so:

    1. run sudo add-apt-repository ppa:kisak/kisak-mesa to add the PPA to your system.

    2. run sudo apt update and then sudo apt upgrade. This should download and install the newer mesa packages from the PPA.

    I rebooted my system just to be safe, and the emulator runs fine and smooth now.

    0 讨论(0)
  • 2021-01-02 04:17

    I'm not sure why that's happening (it was happening to me to using API 29). I cloned the device in the AVD Manager and dropped the API down to 28 (Pie, Android 9) and I was able to successfully launch my app again.

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