Android emulator cannot start
-
Hi,
I couldn't start the Android emulator from Qt Creator, then I tried to start it in the console and the following errors occurred:C:\Users\xxxxx\AppData\Local\Android\Sdk\emulator>emulator -list-avds
AndroidEmulatorC:\Users\xxxxx\AppData\Local\Android\Sdk\emulator>emulator @AndroidEmulator
INFO | Android emulator version 33.1.24.0 (build_id 11237101) (CL:N/A)
INFO | Found systemPath C:\Users\xxxxx\AppData\Local\Android\Sdk\system-images\android-31\google_apis\x86_64
INFO | Storing crashdata in: , detection is enabled for process: 21192
INFO | Duplicate loglines will be removed, if you wish to see each individual line launch with the -log-nofilter flag.
WARNING | Please update the emulator to one that supports the feature(s): Vulkan
INFO | Increasing RAM size to 2048MB
.................
.................
.................
WARNING | Failed to process .ini file C:\Users\xxxxx.android\avd..\avd\AndroidEmulator.avd\quickbootChoice.ini for reading.
ERROR | x86_64 emulation currently requires hardware acceleration!
CPU acceleration status: Android Emulator hypervisor driver is not installed on this machine
More info on configuring VM acceleration on Windows:
https://developer.android.com/studio/run/emulator-acceleration#vm-windows
General information on acceleration: https://developer.android.com/studio/run/emulator-acceleration.My configuration:
- Windows 10
- Qt 6.6.1
- Qt Creator 12.0.1
- Intel "HAXM" is installed
- AVD "AndroidEmulator" configuration:
a) Type : Galaxy Nexus
b) CPU Architecture : x86_64
c) Operating system : Android 12.0 ("S") SDK (31)
d) Android Targer-Flavor : Google APIs
Thank you in advance for the help
-
I found the solution, I activated “Hyper-V” in the Windows features and now I can start the Android emulator
-
@Zbigniew-Sch perhaps you need Hyper-V support and thus need a different driver?
-
Where can I find it, on Google or on Qt?
-
I found the solution, I activated “Hyper-V” in the Windows features and now I can start the Android emulator
-