When building the qt package, it expects that the default (in Qt's view) Android API platform is installed.
During the recent Qt version update, it has been changed:
--- a/mkspecs/features/android/sdk.prf
+++ b/mkspecs/features/android/sdk.prf
@@ -1,6 +1,6 @@
API_VERSION_TO_USE = $$(ANDROID_API_VERSION)
isEmpty(API_VERSION_TO_USE): API_VERSION_TO_USE = $$API_VERSION
-isEmpty(API_VERSION_TO_USE): API_VERSION_TO_USE = android-28
+isEmpty(API_VERSION_TO_USE): API_VERSION_TO_USE = android-31
ANDROID_JAR_FILE = $$ANDROID_SDK_ROOT/platforms/$$API_VERSION_TO_USE/android.jar
!exists($$ANDROID_JAR_FILE) {
This PR fixes the CI for the Android task and addresses #28561 (comment).
Qt docs still claim that Android API Level 21 and up are supported, however, I did not test every possible configuration.
NOTE: #28611 is still valid.