Qt Creator doesn't create kits for Android.
-
I recently downloaded Android from qt on Windows 11 for qt version 6.6.1. I am using QT Creator to set up the Android development. After following all the steps when checking the qt versions tab under preferences -> kits it shows errors for all Android installations. The error says: "Failed to detect the ABIs used by the Qt version. Check the settings in Devices > Android for errors". These are all the things that I did install for my qt installation:
- MingW 11.2.0 64 bit
- MSVC
- Android
- Qt Language Server
- Qt Creator 12.0.1 with CDB Debugger Support
- Debugging tools for Windows
- CMake
- Ninja
I tried multiple different JDK versions as well, here is what I tried:
- JDK 18.0.1: Installs Android SDK and NDK properly as well as any other things installed by SDK manager also no errors when Qt Creator checks for Android installation errors.
- JDK 18.0.2.1: Installs Android SDK and NDK properly as well as any other things installed by SDK manager also no errors when Qt Creator checks for Android installation errors.
- JDK 11.0.20: Installs Android SDK and NDK properly and any other things installed by SDK manager but lots of errors when Qt Creator checks for Android installation errors.
- JDK 8: Doesn't install NDK but manages to install SDK, also errors when Qt Creator checks for Android installation errors.
Here are the errors that show up when using JDK 11 and 8:
Here is the Qt Versions page in the kits tab:
I also tried msvc from the qt installation but that doesn't fix anything.
Any help would be appreciated!
-
After downgrading to Qt 6.5.3 the android issue fixes itself. Any idea why it is causing a problem in Qt 6.6.1?
-
For the "Android settings have errors", press the "Set Up SDK" on the right hand side of the Devices > Android tab to download the missing tools.
However, I still get the "Failed to detect the ABIs used by the Qt version on the Kits > Qt Versions tab for Qt 6.61. 6.5.3 is fine for me as well.