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. unable to set target Android SDK to API 24
Forum Updated to NodeBB v4.3 + New Features

unable to set target Android SDK to API 24

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
15 Posts 6 Posters 6.2k 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by SGaist
    #5

    Hi and welcome to devnet,

    Might be a silly question but to you have that API installed ?

    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
    • N Offline
      N Offline
      nysuka
      wrote on last edited by
      #6

      All suggestions welcomed.
      I do have API 24 installed and I can select android-24 as the Android build SDK in the Build Settings. Despite selecting android-24, I can only choose up to API 23 for Target SDK when I modify AndroidManifest.xml.

      1 Reply Last reply
      0
      • C Offline
        C Offline
        chadr
        wrote on last edited by
        #7

        This is a bug of qtcreator.
        Android target SDK number is limited to 23.
        Below is that codes.

        QPair<int, int> AndroidManager::apiLevelRange()
        {
        return qMakePair(9, 23);
        }

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

          Did you also check 4.3.1 that just got released ?

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

          C 1 Reply Last reply
          0
          • SGaistS SGaist

            Did you also check 4.3.1 that just got released ?

            C Offline
            C Offline
            chadr
            wrote on last edited by
            #9

            @SGaist Yes. It is same.

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

              Then you should check the bug report system to see if there's something related.

              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
              • G Offline
                G Offline
                Gourmet
                wrote on last edited by
                #11

                up

                Does anybody know if this bug was fixed in latest QtCreator 4.5.1? It is required by Google Play to make all new apps be targeted to API 26 after Aug 01 2018. And all old apps must be rebuild to be targeted to API 25 after Nov 01 2018. Some apps require to be redesigned to meet new rules. Better start do this earlier...

                ekkescornerE 1 Reply Last reply
                0
                • G Gourmet

                  up

                  Does anybody know if this bug was fixed in latest QtCreator 4.5.1? It is required by Google Play to make all new apps be targeted to API 26 after Aug 01 2018. And all old apps must be rebuild to be targeted to API 25 after Nov 01 2018. Some apps require to be redesigned to meet new rules. Better start do this earlier...

                  ekkescornerE Offline
                  ekkescornerE Offline
                  ekkescorner
                  Qt Champions 2016
                  wrote on last edited by
                  #12

                  @Gourmet I'm using Qt 5.10.1 and QtC 4.5.1
                  now it's much easier to manage SDKs from inside QtC and you can use all what's available :)

                  ekke ... Qt Champion 2016 | 2024 ... mobile business apps
                  5.15 --> 6.9 https://t1p.de/ekkeChecklist
                  QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

                  G 1 Reply Last reply
                  1
                  • ekkescornerE ekkescorner

                    @Gourmet I'm using Qt 5.10.1 and QtC 4.5.1
                    now it's much easier to manage SDKs from inside QtC and you can use all what's available :)

                    G Offline
                    G Offline
                    Gourmet
                    wrote on last edited by
                    #13

                    @ekkescorner Do you talk about Android SDKs?

                    ekkescornerE 1 Reply Last reply
                    0
                    • G Gourmet

                      @ekkescorner Do you talk about Android SDKs?

                      ekkescornerE Offline
                      ekkescornerE Offline
                      ekkescorner
                      Qt Champions 2016
                      wrote on last edited by ekkescorner
                      #14

                      @Gourmet said in unable to set target Android SDK to API 24:

                      @ekkescorner Do you talk about Android SDKs?

                      yep - I'm using API18 up to API26

                      ekke ... Qt Champion 2016 | 2024 ... mobile business apps
                      5.15 --> 6.9 https://t1p.de/ekkeChecklist
                      QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

                      1 Reply Last reply
                      0
                      • Pablo J. RoginaP Offline
                        Pablo J. RoginaP Offline
                        Pablo J. Rogina
                        wrote on last edited by
                        #15

                        @Gourmet I agree Qt Creator should be updated, but in the meantime and as workaround, you may edit the AndroidManifest.xml file as source from Qt Creator itself. See the "XML Source" tab at the top when you're editing the manifest.
                        Then look for this entry:

                         <uses-sdk android:minSdkVersion="17" android:targetSdkVersion="17"/>
                        

                        Upvote the answer(s) that helped you solve the issue
                        Use "Topic Tools" button to mark your post as Solved
                        Add screenshots via postimage.org
                        Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

                        1 Reply Last reply
                        1

                        • Login

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