Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. QtCreator complains that "Android SDK is missing necessary packages," does nothing.
Forum Updated to NodeBB v4.3 + New Features

QtCreator complains that "Android SDK is missing necessary packages," does nothing.

Scheduled Pinned Locked Moved Solved Installation and Deployment
18 Posts 4 Posters 5.8k Views 3 Watching
  • 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.
  • StokestackS Offline
    StokestackS Offline
    Stokestack
    wrote on last edited by
    #6

    Thanks for the replies, guys.

    Android Studio shows that the SDK is installed:

    0_1549068804953_Screen Shot 2019-02-01 at 4.50.18 PM.png

    K 1 Reply Last reply
    0
    • StokestackS Stokestack

      Thanks for the replies, guys.

      Android Studio shows that the SDK is installed:

      0_1549068804953_Screen Shot 2019-02-01 at 4.50.18 PM.png

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #7

      @Stokestack

      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

      Vote the answer(s) that helped you to solve your issue(s)

      StokestackS 3 Replies Last reply
      1
      • K koahnig

        @Stokestack

        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

        StokestackS Offline
        StokestackS Offline
        Stokestack
        wrote on last edited by
        #8

        @koahnig Thanks for the info. I will try that.

        1 Reply Last reply
        0
        • K koahnig

          @Stokestack

          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

          StokestackS Offline
          StokestackS Offline
          Stokestack
          wrote on last edited by
          #9

          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.

          1 Reply Last reply
          0
          • K koahnig

            @Stokestack

            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

            StokestackS Offline
            StokestackS Offline
            Stokestack
            wrote on last edited by
            #10

            @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).

            K 1 Reply Last reply
            0
            • StokestackS Stokestack

              @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).

              K Offline
              K Offline
              koahnig
              wrote on last edited by
              #11

              @Stokestack

              SDK version 25 seems to be too early for Qt5.12.1, but that is more a gut feeling.

              I am currently using 0_1551777190331_e9c264b9-7c42-49b0-8ee2-c5155f4430a2-image.png with Qt5.11.3 on windows 10 64 bit.

              Vote the answer(s) that helped you to solve your issue(s)

              1 Reply Last reply
              0
              • K Offline
                K Offline
                koahnig
                wrote on last edited by
                #12

                @Stokestack

                and that is the version combination I got to compile and run with Qt 5.12.1
                0_1551780248826_e4ff9c38-39f8-4f3a-aaa3-4246dd8389fb-image.png
                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.

                Vote the answer(s) that helped you to solve your issue(s)

                1 Reply Last reply
                0
                • StokestackS Offline
                  StokestackS Offline
                  Stokestack
                  wrote on last edited by
                  #13

                  Thanks for the reply.

                  I have every version of Android SDK from 25 UP.

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #14

                    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.

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    StokestackS 1 Reply Last reply
                    0
                    • SGaistS SGaist

                      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.

                      StokestackS Offline
                      StokestackS Offline
                      Stokestack
                      wrote on last edited by Stokestack
                      #15

                      @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/Home

                      So anyone who's experiencing this, give that a try and let us know how it goes.

                      1 Reply Last reply
                      1
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #16

                        Thanks for the feedback !

                        Interested in AI ? www.idiap.ch
                        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                        StokestackS 1 Reply Last reply
                        0
                        • SGaistS SGaist

                          Thanks for the feedback !

                          StokestackS Offline
                          StokestackS Offline
                          Stokestack
                          wrote on last edited by Stokestack
                          #17

                          @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).

                          0_1552344236586_QtJDKLocation.png

                          1 Reply Last reply
                          1
                          • SGaistS Offline
                            SGaistS Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on last edited by
                            #18

                            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 :)

                            Interested in AI ? www.idiap.ch
                            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                            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