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. What packages do I need to install
Forum Updated to NodeBB v4.3 + New Features

What packages do I need to install

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
27 Posts 3 Posters 8.8k Views 2 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.
  • tomyT tomy

    @jsulm

    For testing in simulator you can install Android image for x86 - it should be faster than ARM v7.

    Using qt-opensource-windows-x86-android-5.8.0 I only installed Android ARMv7 (not Android x86) and have the Android for armeabi-v7a (GCC 4.9, Qt 5.8.0) (default) as the default kit for Android apps.

    You can uninstall all not needed Android version.

    So in this case, should I uninstall all Intel x86 ones (please remember my CPU is Intel).

    If your app is going to run on Android 5.1.1 for example you can remove all newer versions.

    Honestly I don't use an Android device; my device is an iPhone. But I want to write apps for Android devices (Samsung end etc) for people, and in this step, for Android versions that are "more common". I don't have a special version in mind to create apps for.

    jsulmJ Offline
    jsulmJ Offline
    jsulm
    Lifetime Qt Champion
    wrote on last edited by
    #6

    @tomy It doesn't matter what CPU is in your PC as you're developing for Android devices.
    If you don't need Android for x86 then you can unsinstall them. But still you can uninstall ARM v7 for not needed Android versions as well. If you develop your app for Android 5.1.1 for example it will work with 5.1.1 and newer versions, so you only need to test twith 5.1.1.

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

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

      I didn't install Android x86 because I was told that in 90% of cases (or something like that) it's Abdroid ARMv7 that is needed/enough.

      It seems that you consider Android 5.1.1 (API 22) as the more common Android version used nowadays. If so, does it mean that I should install only the 4 items (checked boxes) of the image below and then uninstall "all" the other packages?

      alt text

      jsulmJ 1 Reply Last reply
      0
      • tomyT tomy

        I didn't install Android x86 because I was told that in 90% of cases (or something like that) it's Abdroid ARMv7 that is needed/enough.

        It seems that you consider Android 5.1.1 (API 22) as the more common Android version used nowadays. If so, does it mean that I should install only the 4 items (checked boxes) of the image below and then uninstall "all" the other packages?

        alt text

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #8

        @tomy Yes you can keep those packages for 5.1.1 (or what ever minimal version you want to support).
        I suggested x86 because it is faster when using emulator (faster because your PC CPU is x86, so the emulator does not have to translate ARM v7 to x86). I usually have both: x86 for testing in emulator and ARM v7 for testing on device.

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

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

          @jsulm

          I suggested x86 because it is faster when using emulator (faster because your PC CPU is x86,

          No I haven't said it. Please look. My CPU is x64 and my OS too.

          alt text

          As the last question, consider I choose those for API 22, 21 and 20, do I need to install the SDK Platform and Google APIs of those versions/APIs too?

          jsulmJ 1 Reply Last reply
          0
          • tomyT tomy

            @jsulm

            I suggested x86 because it is faster when using emulator (faster because your PC CPU is x86,

            No I haven't said it. Please look. My CPU is x64 and my OS too.

            alt text

            As the last question, consider I choose those for API 22, 21 and 20, do I need to install the SDK Platform and Google APIs of those versions/APIs too?

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #10

            @tomy I know that you have x86_64 CPU, not sure why you keep saying it (x86_64 CPU can execute x86 code natively - this is how 64bit Windows is executing 32bit software).
            Regarding your question: do you need those older 20/21 APIs? You need to decide which minimal Android version you want to support, I cannot do it for you.

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

            tomyT 1 Reply Last reply
            0
            • jsulmJ jsulm

              @tomy I know that you have x86_64 CPU, not sure why you keep saying it (x86_64 CPU can execute x86 code natively - this is how 64bit Windows is executing 32bit software).
              Regarding your question: do you need those older 20/21 APIs? You need to decide which minimal Android version you want to support, I cannot do it for you.

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

              @jsulm

              @tomy I know that you have x86_64 CPU, not sure why you keep saying it

              Because you insist on that I have x86 (making that assumption I don't have x64).

              (x86_64 CPU can execute x86 code natively - this is how 64bit Windows is executing 32bit software).

              Of course, it's true.

              Thanks for the time you dedicated for helping me. I will choose one of your answers as "the question's answer".
              But, sorry, you didn't talk about "SDK Platform and Google APIs".

              jsulmJ 1 Reply Last reply
              0
              • tomyT tomy

                @jsulm

                @tomy I know that you have x86_64 CPU, not sure why you keep saying it

                Because you insist on that I have x86 (making that assumption I don't have x64).

                (x86_64 CPU can execute x86 code natively - this is how 64bit Windows is executing 32bit software).

                Of course, it's true.

                Thanks for the time you dedicated for helping me. I will choose one of your answers as "the question's answer".
                But, sorry, you didn't talk about "SDK Platform and Google APIs".

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #12

                @tomy OK, it was a misunderstanding - I usually just say x86.
                You need SDK Platform and Google APIs for minimal Android version you're going to support.

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

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

                  Thank you.
                  Apparently I can't choose one of the answer as the "question's answer"! I make the thread solved.

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

                    Hi,

                    You can do it from the vertical three dot menu when the thread is not yet marked a solved.

                    Or if you already marked it as solved, you can undo that and then select the answer that you deem to be the correct answer.

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

                    tomyT 1 Reply Last reply
                    0
                    • SGaistS SGaist

                      Hi,

                      You can do it from the vertical three dot menu when the thread is not yet marked a solved.

                      Or if you already marked it as solved, you can undo that and then select the answer that you deem to be the correct answer.

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

                      Hi SGaist,
                      And the which should be picked?
                      alt text

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

                        First mark your thread as unsolved in with the "Topic Tools" and then you'll have an additional entry in the three dot menu.

                        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
                        • tomyT Offline
                          tomyT Offline
                          tomy
                          wrote on last edited by
                          #17

                          I did it but I don't have that option still!

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

                            Even after reloading the page ?

                            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
                            • tomyT Offline
                              tomyT Offline
                              tomy
                              wrote on last edited by
                              #19

                              Yes. So I mark it as solved for now.

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

                                The issue is solved but one question is remained! :)

                                There are two folders on the SDK Manager window, named Tools and Extras. I was not sure but installed only these 6 items:

                                alt text

                                And this one can't be uninstalled!

                                alt text

                                Apart from those I have installed from previous posts here and these ones, do I need to install, for example, more Android SDK Build-Tools too, please?

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

                                  AFAIK, only the latest is needed usually.

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

                                  tomyT 1 Reply Last reply
                                  0
                                  • SGaistS SGaist

                                    AFAIK, only the latest is needed usually.

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

                                    @SGaist
                                    Do you mean "Broken source Package" from Extras folder?
                                    If so, I will uninstall the Tools packages all.

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

                                      Here are the complete screenshots. Do I need to install any of the "not installed" of the followings?

                                      First the Tools folder:

                                      alt text

                                      And the Extra folder:

                                      alt text

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

                                        I was talking about the build tools. Either there was a glitch when I saw your answer but I didn't had the part about the "Broken Source Package"

                                        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
                                        • tomyT Offline
                                          tomyT Offline
                                          tomy
                                          wrote on last edited by
                                          #25

                                          Yeah, you are right; it happens for me too.
                                          So the answer is: I need to only install "Android SDK Build-tools (Obselete) Rev. 17" as well, yeah?

                                          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