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. A right set of packages in SDK for Android apps
Forum Update on Monday, May 27th 2025

A right set of packages in SDK for Android apps

Scheduled Pinned Locked Moved Solved Mobile and Embedded
7 Posts 2 Posters 699 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.
  • tomyT Offline
    tomyT Offline
    tomy
    wrote on last edited by tomy
    #1

    Hi all,

    I'd like to have the SDK packages which are needed to cover recent of earlier versions of devices running Android for apps.
    When in the Android Build SDK we, for instance, select android-28 for something, that to me means Qt Creator uses that specific package in the SDK to build the app, and we can't apply all packages all in an app each time.

    And if the latest API, say 28, will cover the prior APIs too, hence the app created by api 28 will be working properly on that and also devices running previous APIs.
    Therefore, why not just having the latest one? Disagree? Why, please?

    If you agree, so I must delete many items in my SDK below. Right?

    0_1556226753255_1.PNG

    raven-worxR 1 Reply Last reply
    0
    • tomyT tomy

      Hi all,

      I'd like to have the SDK packages which are needed to cover recent of earlier versions of devices running Android for apps.
      When in the Android Build SDK we, for instance, select android-28 for something, that to me means Qt Creator uses that specific package in the SDK to build the app, and we can't apply all packages all in an app each time.

      And if the latest API, say 28, will cover the prior APIs too, hence the app created by api 28 will be working properly on that and also devices running previous APIs.
      Therefore, why not just having the latest one? Disagree? Why, please?

      If you agree, so I must delete many items in my SDK below. Right?

      0_1556226753255_1.PNG

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by raven-worx
      #2

      @tomy said in A right set of packages in SDK for Android apps:

      And if the latest API, say 28, will cover the prior APIs too, hence the app created by api 28 will be working properly on that and also devices running previous APIs.
      Therefore, why not just having the latest one? Disagree? Why, please?
      If you agree, so I must delete many items in my SDK below. Right?

      yes, basically its enough to always build against the lastest API level. No matter if you run on a lower API level device in the end. Note Qt's minimum API level.
      This is pretty straight forward if you do not do some JAVA coding. If you want to ensure that certain android features also work on older devices you then should use the support libraries. (But forget about those if you do not code natively).

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      tomyT 1 Reply Last reply
      3
      • raven-worxR raven-worx

        @tomy said in A right set of packages in SDK for Android apps:

        And if the latest API, say 28, will cover the prior APIs too, hence the app created by api 28 will be working properly on that and also devices running previous APIs.
        Therefore, why not just having the latest one? Disagree? Why, please?
        If you agree, so I must delete many items in my SDK below. Right?

        yes, basically its enough to always build against the lastest API level. No matter if you run on a lower API level device in the end. Note Qt's minimum API level.
        This is pretty straight forward if you do not do some JAVA coding. If you want to ensure that certain android features also work on older devices you then should use the support libraries. (But forget about those if you do not code natively).

        tomyT Offline
        tomyT Offline
        tomy
        wrote on last edited by
        #3

        @raven-worx

        Note Qt's minimum API level.

        I always select the latest possible one, for instance, for Qt 5.12.3 which is the one I'm using now, I slecet 5.12 there.

        This is pretty straight forward if you do not do some JAVA coding.

        I use QML which is in relation to JavaScript, C++, and OpenGL. I don't think using QML I may have to deal with Java. Will I have to, in this case?

        If you want to ensure that certain android features also work on older devices you then should use the support libraries. (But forget about those if you do not code natively).

        I couldn't understand it thoroughly I suppose. Will you delve into it a little more.

        One more question about my SDK list removal items:
        Within APIs, I ought to keep only those two items of level 28, which are: SDK Platform, and Sources for Android SDK, and remove the rest. But how about the items of Tools and Extras categories? Should I simply keep what is shown in the screenshot, or must I add or remove some items?

        raven-worxR 1 Reply Last reply
        0
        • tomyT tomy

          @raven-worx

          Note Qt's minimum API level.

          I always select the latest possible one, for instance, for Qt 5.12.3 which is the one I'm using now, I slecet 5.12 there.

          This is pretty straight forward if you do not do some JAVA coding.

          I use QML which is in relation to JavaScript, C++, and OpenGL. I don't think using QML I may have to deal with Java. Will I have to, in this case?

          If you want to ensure that certain android features also work on older devices you then should use the support libraries. (But forget about those if you do not code natively).

          I couldn't understand it thoroughly I suppose. Will you delve into it a little more.

          One more question about my SDK list removal items:
          Within APIs, I ought to keep only those two items of level 28, which are: SDK Platform, and Sources for Android SDK, and remove the rest. But how about the items of Tools and Extras categories? Should I simply keep what is shown in the screenshot, or must I add or remove some items?

          raven-worxR Offline
          raven-worxR Offline
          raven-worx
          Moderators
          wrote on last edited by
          #4

          @tomy said in A right set of packages in SDK for Android apps:

          I use QML which is in relation to JavaScript, C++, and OpenGL. I don't think using QML I may have to deal with Java. Will I have to, in this case?

          Since you do not write a single line of Java code no ;)

          I couldn't understand it thoroughly I suppose. Will you delve into it a little more.

          as i said, don't mind about it, when you do not code directly with Java API. If you only use Qt API you are fine.

          Within APIs, I ought to keep only those two items of level 28, which are: SDK Platform, and Sources for Android SDK, and remove the rest. But how about the items of Tools and Extras categories? Should I simply keep what is shown in the screenshot, or must I add or remove some items?

          no need for the sources (they just take up storage space).
          Leave Tools & Extras as they are.

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          tomyT 1 Reply Last reply
          2
          • raven-worxR raven-worx

            @tomy said in A right set of packages in SDK for Android apps:

            I use QML which is in relation to JavaScript, C++, and OpenGL. I don't think using QML I may have to deal with Java. Will I have to, in this case?

            Since you do not write a single line of Java code no ;)

            I couldn't understand it thoroughly I suppose. Will you delve into it a little more.

            as i said, don't mind about it, when you do not code directly with Java API. If you only use Qt API you are fine.

            Within APIs, I ought to keep only those two items of level 28, which are: SDK Platform, and Sources for Android SDK, and remove the rest. But how about the items of Tools and Extras categories? Should I simply keep what is shown in the screenshot, or must I add or remove some items?

            no need for the sources (they just take up storage space).
            Leave Tools & Extras as they are.

            tomyT Offline
            tomyT Offline
            tomy
            wrote on last edited by
            #5

            @raven-worx
            Thanks so much.

            So I shall remove all items inside the red outline in the screenshot below, right?

            0_1556274201823_1.PNG

            1 Reply Last reply
            0
            • tomyT Offline
              tomyT Offline
              tomy
              wrote on last edited by
              #6

              I'm still waiting for the last response. :)

              So I shall remove all items inside the red outline in the screenshot below, right?

              Right, please?

              raven-worxR 1 Reply Last reply
              0
              • tomyT tomy

                I'm still waiting for the last response. :)

                So I shall remove all items inside the red outline in the screenshot below, right?

                Right, please?

                raven-worxR Offline
                raven-worxR Offline
                raven-worx
                Moderators
                wrote on last edited by
                #7

                @tomy
                yes you can

                --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                If you have a question please use the forum so others can benefit from the solution in the future

                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