QT Creator and Android SDK
-
Dear all
I have QT Creator
and the following ANDROID SDK installed (the latest one)
I followed QT guide to set up SDK and NDK in QT Creator properly,
but QT does not recognize Android SDK
Android build SDK not defined. Check Android settings.
Error while building/deploying project Moby (kit: Android for armeabi-v7a,arm64-v8a,x86,x86_64 (Clang Qt 5.14.1 for Android))
When executing step "Build Android APK"Would you be so kind to give some hints&tips how to tackle that issue?
I really appreciate your help!
-
Hi @KroMignon
Thank you for you help! It really sorted out my issue completely.
I install tools + plus i had to move JDK 8 (from 11)
The single one issue i notices during building is
Found corrupted package.xml at C:\Users\user\AppData\Local\Android\sdk\lldb\3.1\package.xmlHowever building project finished successfully:
BUILD SUCCESSFUL in 3m 29s
25 actionable tasks: 25 executedPackage.xml looks like
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:repository xmlns:ns2="http://schemas.android.com/repository/android/common/01" xmlns:ns3="http://schemas.android.com/repository/android/generic/01" xmlns:ns4="http://schemas.android.com/sdk/android/repo/addon2/01" xmlns:ns5="http://schemas.android.com/sdk/android/repo/repository2/01" xmlns:ns6="http://schemas.android.com/sdk/android/repo/sys-img2/01"><license id="android-sdk-license" type="text">
---------Stacktrace------
org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 460; XML document structures must start and end within the same entity.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
atThat looks strange since xml looks correct.