Can't create quick application
-
Hello friends i recently installed qt 5.11.0 and want to create/open quick projects and create apps for android, but when i try to create quick app it wants me to choose Minium required Qt version, and there is no 5.11 option there is 5.12 minimum after i choose 5.12 i cant configure with my kits so i cant create the project.
and if i open a project and try to run it on a android device i get :
FAILURE: Build failed with an exception.
-
What went wrong:
Could not determine java version from '11.0.12'. -
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Building the android package failed!
-- For more information, run this command with --verbose.
10:05:42: The process "C:\Qt\5.11.0\android_armv7\bin\androiddeployqt.exe" exited with code 14.
Error while building/deploying project elasticnodes (kit: Android Qt 5.11.0 Clang armeabi-v7a)
When executing step "Build Android APK"
10:05:42: Elapsed time: 00:12.
-
-
It sounds like you've got a couple things going on. First, if the application wizard demands a higher Qt version than what you've installed, I wouldn't try to go forward with the project. 5.11.0 is a curious choice; is there any reason you can't use 5.15 LTS?
Regarding the Android error, I recently built and deployed my Android application. There's a lot of pieces to this procedure. To begin with, if you're using Creator (which I'd highly recommend), go to Edit-->Preferences-->Devices and click on the Android tab. This will show you whether your JDK/SDK/NDK/OpenSSL components are all properly configured. If you see any errors, you need to fix them before moving forward.
This page can help you with getting your Android environment set up.