I am developing Qt Cross platform application for Android, recently i have updated Qt creator and Installed new Qt version. I am using 'Qt Creator version 4.5.0'
. I have updated to 'QT version 5.10'
. This Set up is done on Ubuntu 16.04.
Followed link Getting Started with QT Installation.
I am always getting Error message "Android Settings have error" in Qt Creator->Tools->Options->Devices->Android.
Because of above issue i am not able to build application for Android.
I have recently updated my Android sdk, I am able to build and run Sample application from Android Studio, indicating that SDK instalation is working properly. I am using Android SDK tools 26.1.1. Please check bellow screen shots.
Android SDK build tools Installed.
Android SDk platforms installed
Already gone through different links on Stack Overflow and QT forum, All are Suggesting downgrade of Android SDK tools(Due to QT Known bug), but none of the solution is working for me. I know there are few known bugs building Android application with QT 5.9 and Qt Creator version 4.0. I guess It is resolved, as same set up is working fine on Windows 10.
QT Creator wont list any available Android Build SDKs QT Android Installation error
Please help if anybody here resolved same issue.
I just found this bugreport, where in the comments can be found
The native 'sdkmanager' tool can not update packages on windows and it fails with JDK 9 and these issues cascades to Qt Creator also.
I just tried installing JDK 8 and changing the path, and after reopening the settings menu it had worked!
I am using the answer box to show you how it works for me, one last comment: I don't install NDK 16 .. try remove it from Android manager; while (For Qt) install seperately NDK 10e (this was a Qt recommendation already).
And Qt configuration side:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With