Hello, I've started creating mobile apps for android, via QtCreator's inbuilt SDK manager.
It's a CMake Qt Widgets application that has not been modified in any meaningful way. I wanted to test out the emulator, just in case it doesn't work.
It didn't.
In particular, the error message is:
BUILD SUCCESSFUL in 10s
33 actionable tasks: 33 up-to-date
Android package built successfully in 11.260 ms.
-- File: U:/repos/StudyGo2/build/Android_Qt_6_9_0_Clang_arm64_v8a-Debug/android-build-StudyGo2//build/outputs/apk/debug/android-build-StudyGo2-debug.apk
04:15:51: The process "C:\Qt\6.9.0\mingw_64\bin\androiddeployqt.exe" exited normally.
04:16:21: The deployment AVD "GalaxyNexus" cannot be started.
04:16:21: Error while building/deploying project StudyGo2 (kit: Android Qt 6.9.0 Clang arm64-v8a)
04:16:21: When executing step "Deploy to Android device"
04:16:21: Elapsed time: 00:42.
AVD config:
Device Name: Galaxy Nexus
Device Type: Emulator for ""
Serial Number: Unknown
CPU architecture: arm64-v8a
OS version: Unknown Android Version. API Level: 36 (SDK 36)
Android target flavour: Unknown
SD card size: Unknown
Skin Type: Unknown
OpenGL status: Unknown
Projects mode config:
Build and Run for Android Qt 6.9.0 Clang arm64-v8a.
Everything here is set to the default configurations. Since the app compiled correctly, and the deployment fails before actually doing the deployment, I don't think this is the problem.
I have HyperV turned on. I've also tried restarting in case it's an issue with the environment variables. I have not tried using ADB to deploy to a physical device, because I do not have an android device at the moment.
I think a possible reason is SD card size being Unknown despite having selected the default option of 512MiB when creating the configuration. However, I don't know if this is normal, nor how to test it.