QtCreator complains that "Android SDK is missing necessary packages," does nothing.
-
Hi. Thanks for your answer. I'm on Mac OS (latest, Mojave).
I don't see anything to hover over that provides any more info. Here's a screen shot:
image url)
-
I do not know about Mac, but on windows it looks like this
There is the cmake folder in addition. I gugess that is not required. On windows I have a couple of different folders under build-tools. These folders seem to indicate the SDK version numbers.
IIRC I had to install an SDK when starting the Android suite the first time. Some of those versions I had added lateron. -
@Stokestack
from the screenshot I would say the sdk folder is indeed missing, it should look like this
My SDK installation comes from the link QtCreator provides, when you click on the button right of the choose button, the one with the green arrow.
-
Thanks for the replies, guys.
Android Studio shows that the SDK is installed:
-
In case you still have issues, it could be better to install an older SDK version. You want to check if there is already a bug report on JIRA.. Possibly your Qt creator version is not yet compatible with the latest Android SDK. So far in the past it was always better to stay with older SDK versions, see also http://doc.qt.io/qt-5/android-getting-started.html
-
Well, I installed the previous Android SDK version as well, and Qt still claims that it's not installed. This despite still showing that all the other Android stuff is installed.
-
@koahnig Well, now I've installed the Android SDKs back to API version 25, and still no dice. I just updated to Qt 5.12.1, too.
This is pretty much a show-stopper...
I'd file a bug report, but my log-in ID is somehow messed up and there's no way to contact an admin for the bug tracker (kind of a big problem in its own right).
-
SDK version 25 seems to be too early for Qt5.12.1, but that is more a gut feeling.
I am currently using with Qt5.11.3 on windows 10 64 bit.
-
and that is the version combination I got to compile and run with Qt 5.12.1
Resepctively to be very precise it is the tool chain indicated as Android for armeabi-v7a (Clang Qt 5.12.1 for Android ARMv73) in creator. -
Thanks for the reply.
I have every version of Android SDK from 25 UP.
-
Hi,
I've seen several developers posts having trouble with the SDK coming from Android Studio.
AFAIR, the solution was to use the "Command line tools only" download option.
-
@SGaist Thanks.
Actually... I think the SDK (or JRE) that's buried in the Android Studio installation may be the only one that still works. Maybe they're shipping their own version of the now-deleted components.
I don't even remember how I discovered this workaround... but if you go into Devices/Android in Qt Creator preferences and direct the JDK location to the one that's installed by Android Studio... it seems to work.
On the Mac, that location is:
/Applications/Android Studio.app/Contents/jre/jdk/Contents/HomeSo anyone who's experiencing this, give that a try and let us know how it goes.
-
Thanks for the feedback !
-
@SGaist No problem. I should have posted this before but got sidetracked.
Here's a screen shot of how things look on my system now. The other paths (starting with /Developer) are where I told Android Studio to install all of its supporting files (or its installer defaulted to; I don't remember).
-
Since you have it working now, please mark the thread as solved using the "Topic Tools" button so that other forum users may know a solution has been found :)