Unsolved Build Issue
-
The API level set for the APK is less than the minimum required by the kit.
The minimum API level required by the kit is 21.
Error while building/deploying project SimpleWeather (kit: Android for armeabi-v7a,arm64-v8a,x86,x86_64 (Clang Qt 5.14.2 for Android))
When executing step "Build Android APK" -
You need to set proper API level for your APK, just as the error message says. You can do it by modifying relevant values in your AndroidManifest.xml.
-
Good Morning, Thanks a lot for your reply. I did change in "AndroidManifest.xml" and now selected latest, Minimum required SDK and Target SDK both as "API 29: Android 10".
After compile, getting following error.
Building the android package failed!
-- For more information, run this command with --verbose.
23:00:56: The process "C:\Qt\5.14.2\android\bin\androiddeployqt.exe" exited with code 14.
Error while building/deploying project SimpleWeather (kit: Android for armeabi-v7a,arm64-v8a,x86,x86_64 (Clang Qt 5.14.2 for Android))
When executing step "Build Android APK"
23:00:56: Elapsed time: 00:09. -
This output does not show what went wrong, sorry. Run in verbose mode (you can turn it on in Qt Creator->Project->Build->Build APK) and paste here the lines which mention what wen wrong (or the whole
androiddeployqt
output).