The warnings and error you're seeing when launching your Android Virtual Device (AVD) in Android Studio indicate some issues with the emulator setup or compatibility. Let's break down each warning and what you can do to resolve them:
🔹 1. VulkanVirtualQueue Warning
Please update the emulator to one that supports the feature(s): VulkanVirtualQueue
Meaning:
This warning indicates that the emulator doesn't support the Vulkan graphics API, which is used by some apps for advanced rendering.
Solution:
-
Update Android Emulator:
Make sure your Android Emulator is up-to-date.
- Open SDK Manager (
Tools > SDK Manager)
- Go to the SDK Tools tab
- Check if there's an update available for Android Emulator
- If yes, update it
-
Use a Compatible System Image:
Some older system images may not fully support Vulkan. Use a more recent image:
- Try using a Google Play or AOSP system image based on Android 11 (R) or higher, as they have better Vulkan support.
-
Disable Vulkan (Optional):
If you don’t need Vulkan support, you can disable it:
- In your app’s manifest or code, avoid requesting Vulkan features.
- Or launch the emulator with
-feature -Vulkan flag to explicitly disable it.
🔹 2. File System Warning
File System is not ext4, disable QuickbootFileBacked feature
Meaning:
This means the AVD uses a file system other than ext4, so the quick boot feature that relies on ext4 cannot be used.
Solution:
🔹 3. Emulator Terminated with Exit Code 139
Emulator terminated with exit code 139
Meaning:
Exit code 139 usually means the process was killed by a segmentation fault (SIGSEGV) — often due to incompatible GPU drivers or hardware acceleration issues.
Solutions:
✅ A. Change Emulated Performance – Graphics:
- Open AVD Manager
- Edit the virtual device
- Set Graphics to Software instead of Hardware or Automatic:
Hardware - GLES 2.0 → change to Software - GLES 2.0
✅ B. Update GPU Drivers
If you're on Linux or Windows, make sure your graphics drivers are up to date.
✅ C. Disable Vulkan & GPU Emulation (if needed)
Start the emulator manually with flags:
emulator -avd <your_avd_name> -feature -Vulkan -gpu swiftshader_indirect
✅ D. Use a Different CPU Architecture
Try using x86_64 instead of x86 in your system image. The 64-bit images tend to be more stable.
✅ Recommended Steps Summary
- Update Android Studio & Emulator
- Use a recent system image (Android 11 or newer, x86_64, Google Play)
- Set Graphics to Software
- Recreate the AVD if necessary
- Launch with
-feature -Vulkan if needed
🛠 Optional: Launch Emulator with Custom Flags
You can launch the emulator from the terminal with custom options:
cd ~/Android/Sdk/emulator
./emulator -avd Small_Phone_API_XX -feature -Vulkan -gpu swiftshader_indirect -no-snapshot
Replace Small_Phone_API_XX with your actual AVD name.
Let me know your OS (Windows/macOS/Linux), Android Studio version, and system image details if you'd like help tailoring these steps!