Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QT Version reports failed to detect ABIs when trying to setup Android
QtWS25 Last Chance

QT Version reports failed to detect ABIs when trying to setup Android

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
25 Posts 14 Posters 5.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J JoeCFD
    13 Dec 2023, 23:37

    @Milly One thing you can try is to launch maintenance tool to reinstall only Android modules of Qt 6.6.1.

    M Offline
    M Offline
    Milly
    wrote on 13 Dec 2023, 23:56 last edited by
    #9

    @JoeCFD
    I removed the Android module, restarted and then reinstalled everything and it is still not happy. I think I'll try again tomorrow with a totally clean install and see what happens. Thanks so much for your inputs, very much appreciated.

    J 1 Reply Last reply 14 Dec 2023, 07:00
    0
    • M Milly
      13 Dec 2023, 23:56

      @JoeCFD
      I removed the Android module, restarted and then reinstalled everything and it is still not happy. I think I'll try again tomorrow with a totally clean install and see what happens. Thanks so much for your inputs, very much appreciated.

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 14 Dec 2023, 07:00 last edited by
      #10

      @Milly You can add Qt versions in QtCreator manually. Try that for the Android Qt if it was not detected automatically.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      M 1 Reply Last reply 14 Dec 2023, 07:56
      0
      • J jsulm
        14 Dec 2023, 07:00

        @Milly You can add Qt versions in QtCreator manually. Try that for the Android Qt if it was not detected automatically.

        M Offline
        M Offline
        Milly
        wrote on 14 Dec 2023, 07:56 last edited by
        #11

        @jsulm Thanks for the input. I completely removed my Qt install and left it downloading a fresh copy over night. This morning everything works.. Only difference is that I installed 6.5.3 instead.

        J 1 Reply Last reply 15 Dec 2023, 14:19
        0
        • M Milly
          14 Dec 2023, 07:56

          @jsulm Thanks for the input. I completely removed my Qt install and left it downloading a fresh copy over night. This morning everything works.. Only difference is that I installed 6.5.3 instead.

          J Offline
          J Offline
          JoeCFD
          wrote on 15 Dec 2023, 14:19 last edited by
          #12

          @Milly I installed Qt 6.6.1 with Android modules in Windows 11 and had the same problem as yours at the beginning. After I installed JDK 17 and SDK in Qt Creator, these packages are available for use even before Open SSL is installed.

          1 Reply Last reply
          0
          • J Offline
            J Offline
            jpelczar
            wrote on 18 Dec 2023, 15:55 last edited by
            #13

            It seems to have started recently as I reinstalled everything to the latest (6.6.1) versions. Today I did clean Ubuntu 23.10 reinstall twice and it failed, too (both in VM and real machine).

            J 1 Reply Last reply 18 Dec 2023, 16:08
            1
            • J jpelczar
              18 Dec 2023, 15:55

              It seems to have started recently as I reinstalled everything to the latest (6.6.1) versions. Today I did clean Ubuntu 23.10 reinstall twice and it failed, too (both in VM and real machine).

              J Offline
              J Offline
              jpelczar
              wrote on 18 Dec 2023, 16:08 last edited by
              #14

              Ok. Downgrading Qt to 6.5.1 appears to work, however 6.5.3 and 6.6.1 seem to fail.

              1 Reply Last reply
              0
              • N Offline
                N Offline
                Nigavevoli
                wrote on 20 Dec 2023, 08:44 last edited by
                #15

                Same problems for me, I downloaded all the necessary SDKs, NDKs and device images using Android Studio before switching to Qt. I'm on a Mac and I can't get an android version to work, I have tested 5.14.2, 5.15.2 , 6.5.3 and 6.6.1 qt versions and always the same problem "Failed to detect the ABIs used by the Qt version. Check the settings in Devices > Android for errors." But there's nothing in the devices to indicate a problem...

                I've been having this problem for 2 days, I've uninstalled and reinstalled the SDK, NDK and Qt package several times, but nothing works. Looking through the forum, I have the impression that the problem is caused by a QT createor update. Because other colleagues who have qt creator with an another version don't have this problem.

                1 Reply Last reply
                0
                • H Offline
                  H Offline
                  Harsh Mittal
                  wrote on 31 Dec 2023, 07:35 last edited by
                  #16

                  Hi,

                  I am also facing the same issue, The Qt Creator Version is 12.0.1 and I have tried installing two Qt versions Qt 6.6.1 and Qt 5.15.2. For both versions, I am not able to see the kits even though Android is completely set up. Even Android Emulators and everything seem to be working fine.

                  If anyone solves the issue then please do let me know, have been stuck on this for some time now.

                  N 1 Reply Last reply 2 Jan 2024, 09:37
                  0
                  • H Harsh Mittal
                    31 Dec 2023, 07:35

                    Hi,

                    I am also facing the same issue, The Qt Creator Version is 12.0.1 and I have tried installing two Qt versions Qt 6.6.1 and Qt 5.15.2. For both versions, I am not able to see the kits even though Android is completely set up. Even Android Emulators and everything seem to be working fine.

                    If anyone solves the issue then please do let me know, have been stuck on this for some time now.

                    N Offline
                    N Offline
                    Nigavevoli
                    wrote on 2 Jan 2024, 09:37 last edited by
                    #17

                    Just a heads up – I've noticed a problem with Qt Creator version 12.0.1. My colleagues on 12.0.0 aren't facing the same issue. Anybody else experiencing this? Might want to hold off on updating for now.

                    1 Reply Last reply
                    0
                    • T Offline
                      T Offline
                      TvEngelen
                      wrote on 4 Jan 2024, 14:12 last edited by
                      #18

                      I ran into the same problem and I could fix this by closing QtCreator and deleting the directory %LOCALAPPDATA%\QtProject\QtCreator\cache\CachedStores.

                      I believe that the problem is caused by the qtcreator cache containing the wrong data for the android profile. My suspicion is that this happens when a Qt for Android is already installed while the Android (Java/SDK) setup in VictronConnect is not yet done. I believe that it then stores an empty ABI string and this is not updated when the Android settings are finished in QtCreator.

                      I P R P 4 Replies Last reply 5 Jan 2024, 20:03
                      7
                      • T TvEngelen
                        4 Jan 2024, 14:12

                        I ran into the same problem and I could fix this by closing QtCreator and deleting the directory %LOCALAPPDATA%\QtProject\QtCreator\cache\CachedStores.

                        I believe that the problem is caused by the qtcreator cache containing the wrong data for the android profile. My suspicion is that this happens when a Qt for Android is already installed while the Android (Java/SDK) setup in VictronConnect is not yet done. I believe that it then stores an empty ABI string and this is not updated when the Android settings are finished in QtCreator.

                        I Offline
                        I Offline
                        ingpconci
                        wrote on 5 Jan 2024, 20:03 last edited by
                        #19

                        @TvEngelen said in QT Version reports failed to detect ABIs when trying to setup Android:

                        I ran into the same problem and I could fix this by closing QtCreator and deleting the directory %LOCALAPPDATA%\QtProject\QtCreator\cache\CachedStores.

                        I believe that the problem is caused by the qtcreator cache containing the wrong data for the android profile. My suspicion is that this happens when a Qt for Android is already installed while the Android (Java/SDK) setup in VictronConnect is not yet done. I believe that it then stores an empty ABI string and this is not updated when the Android settings are finished in QtCreator.

                        Thank you very much; I solved an installation problem on MacOS and QT 6.6.1.
                        The Android configuration was impossible before deleting the folder /Users/ (user name )/Library/Caches/QtProject/QtCreator/CachedStores
                        an restart the QTCreator

                        1 Reply Last reply
                        0
                        • G Offline
                          G Offline
                          Gurban
                          wrote on 10 Jan 2024, 11:06 last edited by
                          #20

                          I have faced the same issue. Deleting cache directories (~/.cache ~/.java) solved this problem.
                          (Ubuntu 22.04.3 LTS / QtCreator 12.0.1 / Qt 5.15.2)

                          D 1 Reply Last reply 2 Apr 2024, 22:15
                          1
                          • T TvEngelen
                            4 Jan 2024, 14:12

                            I ran into the same problem and I could fix this by closing QtCreator and deleting the directory %LOCALAPPDATA%\QtProject\QtCreator\cache\CachedStores.

                            I believe that the problem is caused by the qtcreator cache containing the wrong data for the android profile. My suspicion is that this happens when a Qt for Android is already installed while the Android (Java/SDK) setup in VictronConnect is not yet done. I believe that it then stores an empty ABI string and this is not updated when the Android settings are finished in QtCreator.

                            P Offline
                            P Offline
                            psrKnight
                            wrote on 12 Jan 2024, 03:47 last edited by
                            #21

                            @TvEngelen Thank you very much. This solution has worked for me.

                            1 Reply Last reply
                            0
                            • T TvEngelen
                              4 Jan 2024, 14:12

                              I ran into the same problem and I could fix this by closing QtCreator and deleting the directory %LOCALAPPDATA%\QtProject\QtCreator\cache\CachedStores.

                              I believe that the problem is caused by the qtcreator cache containing the wrong data for the android profile. My suspicion is that this happens when a Qt for Android is already installed while the Android (Java/SDK) setup in VictronConnect is not yet done. I believe that it then stores an empty ABI string and this is not updated when the Android settings are finished in QtCreator.

                              R Offline
                              R Offline
                              RubenRyhan
                              wrote on 29 Jan 2024, 01:02 last edited by
                              #22

                              @TvEngelen this has worked for me too, thanks very much! I have been going around in circles with this for a while until found this for QT version 6.5.3

                              1 Reply Last reply
                              0
                              • T TvEngelen
                                4 Jan 2024, 14:12

                                I ran into the same problem and I could fix this by closing QtCreator and deleting the directory %LOCALAPPDATA%\QtProject\QtCreator\cache\CachedStores.

                                I believe that the problem is caused by the qtcreator cache containing the wrong data for the android profile. My suspicion is that this happens when a Qt for Android is already installed while the Android (Java/SDK) setup in VictronConnect is not yet done. I believe that it then stores an empty ABI string and this is not updated when the Android settings are finished in QtCreator.

                                P Offline
                                P Offline
                                PR1G0RYAN
                                wrote on 22 Feb 2024, 18:15 last edited by
                                #23

                                @TvEngelen thank you! That helped

                                J 1 Reply Last reply 3 Apr 2024, 03:13
                                0
                                • G Gurban
                                  10 Jan 2024, 11:06

                                  I have faced the same issue. Deleting cache directories (~/.cache ~/.java) solved this problem.
                                  (Ubuntu 22.04.3 LTS / QtCreator 12.0.1 / Qt 5.15.2)

                                  D Offline
                                  D Offline
                                  deivpetrov
                                  wrote on 2 Apr 2024, 22:15 last edited by
                                  #24

                                  @Gurban, thanks a lot, your solution has worked!

                                  1 Reply Last reply
                                  0
                                  • P PR1G0RYAN
                                    22 Feb 2024, 18:15

                                    @TvEngelen thank you! That helped

                                    J Offline
                                    J Offline
                                    jack_study_qt
                                    wrote on 3 Apr 2024, 03:13 last edited by
                                    #25

                                    @PR1G0RYAN QTCreator has a bug where it defaults to compiling with QT6 for Android. If you want to use QT5.15, please refer to my reply in the other thread.

                                    1 Reply Last reply
                                    0

                                    • Login

                                    • Login or register to search.
                                    • First post
                                      Last post
                                    0
                                    • Categories
                                    • Recent
                                    • Tags
                                    • Popular
                                    • Users
                                    • Groups
                                    • Search
                                    • Get Qt Extensions
                                    • Unsolved