Qt Creator and Android NDK
-
I installed AndroidStudio which has SDK Manager under tools. That's what I am using. IIRC I have seen or even used a stand-alone SDK manager. That's for windows.
The sdk is installed under AppData/local which I copy to another disk for keeping track of versions. However, I might be too cautious.
-
Yes, the SDK is installed there but I was under the impression that that folder contains many different SDKs. I got several installed. But how would I tell Qt Creator which one to use?
-
I think this page (https://doc.qt.io/qtcreator/creator-developing-android.html) is supposed to contain this information but I can't find anything.
-
Sorry beyond my experience.
in qt creator Options->Devices->Android at the bottom there is also avd and sdk manager, but you cannot change there.
The only possible way I see at the moment would be deinstalling and just leave the last which is ackward.However, I am guy trying to stay with something that works. Sometimes testing with switching between different versions forth and back. It drove me nuts that a simple update in AndroidStudio killed essentially my toolchains.
As explained above, I have copied the Android stuff onto a separate disk. Unfortunately Qt creator is not helpful enough in changing toolchains for Android, but I think the true reason is Android where they think that one has to use the latest versions.
That is what I am using at the moment:
I have another set of folders for Qt5.14.1. I know that I have duplicated a lot there, but I got my toolchains finally to work. That's what counts. Renaming 2 folders under devices and I have the other toolchain. It is stupid, but works.
BTW Qt5.12.1 and Qt5.12.7 may use the same sdk and ndk.
-
Thanks for your suggestion. I'll probably end up doing the same unless we overlooked something and there is another way to feed Qt Creator with the desired SDK version. I still haven't given up hope that it's not that complicated. ;-)
@Padlock said in Qt Creator and Android NDK:
Thanks for your suggestion. I'll probably end up doing the same unless we overlooked something and there is another way to feed Qt Creator with the desired SDK version. I still haven't given up hope that it's not that complicated. ;-)
I am very happy getting proofed wrong. ;)