docker-flutter icon indicating copy to clipboard operation
docker-flutter copied to clipboard

Can't run the emulator: Exit code -11

Open crispyricepc opened this issue 3 years ago • 0 comments

When I run flutter emulators --launch flutter_emulator, I get the following error

The Android emulator exited with code -11 during startup
Android emulator stderr:
handleCpuAcceleration: feature check for hvf
cannot add library /home/developer/android/emulator/qemu/linux-x86_64/lib64/vulkan/libvulkan.so: failed
added library /home/developer/android/emulator/lib64/vulkan/libvulkan.so
cannot add library /home/developer/android/emulator/lib64/vulkan/libvulkan.so.1: full
emulator: ERROR: VkCommonOperations.cpp:537: Failed to create Vulkan instance.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Address these issues and try again.

Looking for ~/android/emulator/qemu/linux-x86_64/lib64/vulkan/libvulkan.so, I find that it doesn't exist. Is this a mistake?

crispyricepc avatar Apr 03 '22 10:04 crispyricepc