'Platform SDK installed' red X Adding Android SDK Tools in Qt Creator
-
This post is deleted!
-
Hi, I have some troubles with Qt for android too. Here is my qt android settings:
And error that I get:
I use kit: "Android for armeabi-v7a (Clang Qt 5.12.4 for Android ARMv7)"
Can anybody help me please? :(
-
Hm, it's kinda weird, but I made android apk.
So what I've done:
I founded that I use build-tools ver. 29.0.0 but should use 28.0.3
I didn't realize how to downgrade it so I just replace one file (aidl.exe) from 28.0.3 to 29.0.0 and it works.
Now I able to build android apk.
If someone need I could share my Qt android pacl -
I had to uninstall jdk12 and install 8 for it to work. Is QT not compatible with 12? If not, there should be an indication of this when installing--that is indicate which versions of Java it is compatible with.
-
138/5000
I solved this problem by installing on QT5.13 earlier versions of NDK 20, from version 10e to 19c, this error no longer appeared. -
@meisterpeeps seems Android Studio does not work well with jdk 12 as well:
sdkmanager
crashes. -
Configuring QT 5.13 with Platform SDK installed error . I also have Android Studio 3.5 installed . Go to the settings of the Studio paths and copy them, JDK Android Studio puts its own, enter everything as it is in QT. The error disappears, QT starts to see all Studio and AVD tools. In the folder .android\ "empty" repositories.cfg " file. For successful compilation , in qmake add QMAKE_LINK + = - nostdlib++
-
Yesterday i faced the same issue. The only thing i did is that i downloaded "Java SE Development Kit 8 - jdk1.8.0_241" then both the errors regarding the Platform SDK and SDK manager worked properly.
-
This post is deleted!
-
I hit this problem yesterday on Qt Creator 4.11.1. I finally did what @ajee did, but slightly different. I went to the qt-creator github and found this file:
https://github.com/qt-creator/qt-creator/blob/master/share/qtcreator/android/sdk_definitions.json. In it, you can find[...] "sdk_tools_url": { "linux": "https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip",
I downloaded that zip file and copied over the tools dir like @ajee. I can't find that file in release 4.1.1 https://github.com/qt-creator/qt-creator/tree/v4.11.1/ . Presumably, for future releases, that file may give you a clue as to which SDK tools you're supposed to download for your release of qt creator.
P.S. What a pain.
-
@Ross +1 for the @ajee solution.
I have been trying with Ubuntu 18.04 + OpenJDK 8 + Android Studio 3.6.3 + Qt Creator 4.11.2 / Qt 5.14.2 all downloaded and installed today, and could never get rid of the SDK tools or Platform SDK red Xs in Creator's Devices/Android form until adding the tools folder from your link - I placed it in my ~/Android/Sdk folder, next to the cmdline-tools and platform-tools folders, there was no tools folder there before, no matter what I tried to get Android Studio or sdkmanager to install.
As soon as Qt Creator noticed the tools folder, now AVD manager and SDK manager tabs at the bottom of the Devices page are accessible. Here's hoping the rest of the porting process goes smoother.
-
hello @abanksdev @SGaist
I'm getting a problem with " Platform-tools installed" Could you please tell me how to solve that. -
@Where_is_nitish hi and welcome to devnet,
Please open your own thread with all the details you can give about your current situation.