Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. The process "...\android_armv7\bin\androiddeployqt.exe" exited with code 14.

The process "...\android_armv7\bin\androiddeployqt.exe" exited with code 14.

Scheduled Pinned Locked Moved Solved QML and Qt Quick
24 Posts 4 Posters 7.5k 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.
  • T tomy
    23 Apr 2019, 10:54

    @J.Hilk

    Should I uninstall Android SDK Platform-tools 28.0.2?

    Here's also the packages:

    0_1556016780743_Capture.PNG

    J Offline
    J Offline
    J.Hilk
    Moderators
    wrote on 23 Apr 2019, 11:00 last edited by
    #11

    @tomy I would uninstall all preview packages. That was cause for a similar issue from on other poster recently.

    Can't quite find the post.
    "The search function is not the best" ...


    Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


    Q: What's that?
    A: It's blue light.
    Q: What does it do?
    A: It turns blue.

    T 1 Reply Last reply 23 Apr 2019, 11:14
    1
    • J J.Hilk
      23 Apr 2019, 11:00

      @tomy I would uninstall all preview packages. That was cause for a similar issue from on other poster recently.

      Can't quite find the post.
      "The search function is not the best" ...

      T Offline
      T Offline
      tomy
      wrote on 23 Apr 2019, 11:14 last edited by
      #12

      @J.Hilk

      I removed all packages with the word "preview" in SDK:

      0_1556018053870_Capture.PNG

      Yet, the same errors!

      J 1 Reply Last reply 23 Apr 2019, 11:16
      0
      • T tomy
        23 Apr 2019, 11:14

        @J.Hilk

        I removed all packages with the word "preview" in SDK:

        0_1556018053870_Capture.PNG

        Yet, the same errors!

        J Offline
        J Offline
        J.Hilk
        Moderators
        wrote on 23 Apr 2019, 11:16 last edited by
        #13

        @tomy
        just to make sure, you did a complete rebuild after the removal ?
        deleted building dir, rerun qmake.. the usual ?


        Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


        Q: What's that?
        A: It's blue light.
        Q: What does it do?
        A: It turns blue.

        T 1 Reply Last reply 23 Apr 2019, 11:30
        2
        • J J.Hilk
          23 Apr 2019, 11:16

          @tomy
          just to make sure, you did a complete rebuild after the removal ?
          deleted building dir, rerun qmake.. the usual ?

          T Offline
          T Offline
          tomy
          wrote on 23 Apr 2019, 11:30 last edited by tomy
          #14

          @J.Hilk

          WOW Hilk! :) :)
          I did these and re-built the project. This time it built the APK and prior errors became vanished except for few normal warnings! :)

          Thanks so much for your help. Vielen Dank. :)

          1 Reply Last reply
          1
          • J J.Hilk
            23 Apr 2019, 04:59

            @tomy From what I have seen from other users, it seems like the latest ndk has some problems with Qt. I assume 19c is the latest ?

            I'm using 18b and that one is working fine for me, haven't updated in a while.

            T Offline
            T Offline
            tomy
            wrote on 23 Apr 2019, 14:02 last edited by tomy
            #15

            @J.Hilk

            I'm using 18b and that one is working fine for me, haven't updated in a while.

            Do you mean that when some version of NDK, like 18b, is working properly for apps for the time being, we shouldn't replace it with some newer version even if a newer version of Android is published and installed on Android devices?

            I mean, can it support future versions of Android and will work properly on devices running those new versions too?

            And about JDK, what version do you suggest to be good for recent and probably prior versions of Android, please?
            As you know, the current version of Android is 9, I suppose.

            J 1 Reply Last reply 23 Apr 2019, 15:15
            0
            • T tomy
              23 Apr 2019, 14:02

              @J.Hilk

              I'm using 18b and that one is working fine for me, haven't updated in a while.

              Do you mean that when some version of NDK, like 18b, is working properly for apps for the time being, we shouldn't replace it with some newer version even if a newer version of Android is published and installed on Android devices?

              I mean, can it support future versions of Android and will work properly on devices running those new versions too?

              And about JDK, what version do you suggest to be good for recent and probably prior versions of Android, please?
              As you know, the current version of Android is 9, I suppose.

              J Offline
              J Offline
              J.Hilk
              Moderators
              wrote on 23 Apr 2019, 15:15 last edited by
              #16

              @tomy

              well
              that's a bit complicated.
              For a long time Qt was limited to a specific ndk, as some old stuff was dropped, that Qt relied on.

              With 5.12 and onwards it should now be "latest version of ndk" according to the docu.
              That, apparently, does not include the preview/release candidates.

              In the end you're limited to what google permits on the play store and that is, IIRC, currently the sdk platform 27 which is Android 7 !?
              That means if you want to upload a new app or update an old one your Target SDK should be 27 or newer.

              I personally think, If it ain't broke, don't fix it ;-)

              I'm running jdk1.8.0_192 and I'm not updating, if I don't have to.


              Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


              Q: What's that?
              A: It's blue light.
              Q: What does it do?
              A: It turns blue.

              T 1 Reply Last reply 23 Apr 2019, 16:40
              1
              • J J.Hilk
                23 Apr 2019, 15:15

                @tomy

                well
                that's a bit complicated.
                For a long time Qt was limited to a specific ndk, as some old stuff was dropped, that Qt relied on.

                With 5.12 and onwards it should now be "latest version of ndk" according to the docu.
                That, apparently, does not include the preview/release candidates.

                In the end you're limited to what google permits on the play store and that is, IIRC, currently the sdk platform 27 which is Android 7 !?
                That means if you want to upload a new app or update an old one your Target SDK should be 27 or newer.

                I personally think, If it ain't broke, don't fix it ;-)

                I'm running jdk1.8.0_192 and I'm not updating, if I don't have to.

                T Offline
                T Offline
                tomy
                wrote on 23 Apr 2019, 16:40 last edited by
                #17

                @J.Hilk, thanks.

                With 5.12 and onwards it should now be "latest version of ndk" according to the docu.
                That, apparently, does not include the preview/release candidates.

                I didn't understand the part "the preview/release candidates" for ndk!

                If we want to use the latest "stable" version of ndk, so the choice will be android-ndk-r19c-windows-x86_64.zip, but you're seemingly using this r18b android-ndk-r18b-windows-x86_64.zip. (For Window x64 for instance).
                So the question is why do you use r18b while Docs says you need to use r19c, please?

                In the end you're limited to what google permits on the play store and that is, IIRC, currently the sdk platform 27 which is Android 7 !?

                Apparenlty the latest version is Pie 9 API level 28.

                That means if you want to upload a new app or update an old one your Target SDK should be 27 or newer.

                My android build sdk (for any QML app for Android) is always on android-28.
                Bad habit?

                I personally think, If it ain't broke, don't fix it ;-)

                I didn't get this part either! :) What "it" do you say please?

                I'm running jdk1.8.0_192 and I'm not updating, if I don't have to.

                The question is, when do you think/feel you have to update it?
                I want to copy that habit. When should I know it's time to update sdk, jdk, or ndk generally? Does it depend upon the version of Qt or android published or some other thing/item?

                J 1 Reply Last reply 23 Apr 2019, 19:01
                0
                • T tomy
                  23 Apr 2019, 16:40

                  @J.Hilk, thanks.

                  With 5.12 and onwards it should now be "latest version of ndk" according to the docu.
                  That, apparently, does not include the preview/release candidates.

                  I didn't understand the part "the preview/release candidates" for ndk!

                  If we want to use the latest "stable" version of ndk, so the choice will be android-ndk-r19c-windows-x86_64.zip, but you're seemingly using this r18b android-ndk-r18b-windows-x86_64.zip. (For Window x64 for instance).
                  So the question is why do you use r18b while Docs says you need to use r19c, please?

                  In the end you're limited to what google permits on the play store and that is, IIRC, currently the sdk platform 27 which is Android 7 !?

                  Apparenlty the latest version is Pie 9 API level 28.

                  That means if you want to upload a new app or update an old one your Target SDK should be 27 or newer.

                  My android build sdk (for any QML app for Android) is always on android-28.
                  Bad habit?

                  I personally think, If it ain't broke, don't fix it ;-)

                  I didn't get this part either! :) What "it" do you say please?

                  I'm running jdk1.8.0_192 and I'm not updating, if I don't have to.

                  The question is, when do you think/feel you have to update it?
                  I want to copy that habit. When should I know it's time to update sdk, jdk, or ndk generally? Does it depend upon the version of Qt or android published or some other thing/item?

                  J Offline
                  J Offline
                  J.Hilk
                  Moderators
                  wrote on 23 Apr 2019, 19:01 last edited by
                  #18

                  @tomy

                  I didn't understand the part "the preview/release candidates" for ndk!

                  Google, like other software companies, have official releases of their software and release candidates or preview versions of upcoming software.
                  Basically open Beta access to flush out bugs/incompatibilities or testing of new features/apis

                  Using one of those beta versions is bound to have bugs in them, making them not a viable candidate for development, but rather a test/check if your software is still working as indented in the upcoming releases.

                  So the question is why do you use r18b while Docs says you need to use r19c, please?

                  When I setup qt for android 5.12.0, 18b was the latest official release, and even listed in the docu as such.

                  Apparenlty the latest version is Pie 9 API level 28.

                  yes, but I was talking about the oldest api level still allowed to be used in the PlayStore.

                  My android build sdk (for any QML app for Android) is always on android-28.
                  Bad habit?

                  No, not necessarily, at least in my opinion. Use what works ;-)

                  I didn't get this part either! :) What "it" do you say please?

                  https://www.urbandictionary.com/define.php?term=if it ain't broke%2C don't fix it

                  The question is, when do you think/feel you have to update it?

                  when something doesn't work anymore with old apis/software.
                  Google is going to require 64bit apks alongside normal ones very soon, as in this or the coming year.
                  I'm sure an update on my side is being required than, at the very least.


                  Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                  Q: What's that?
                  A: It's blue light.
                  Q: What does it do?
                  A: It turns blue.

                  T 1 Reply Last reply 23 Apr 2019, 19:15
                  1
                  • J J.Hilk
                    23 Apr 2019, 19:01

                    @tomy

                    I didn't understand the part "the preview/release candidates" for ndk!

                    Google, like other software companies, have official releases of their software and release candidates or preview versions of upcoming software.
                    Basically open Beta access to flush out bugs/incompatibilities or testing of new features/apis

                    Using one of those beta versions is bound to have bugs in them, making them not a viable candidate for development, but rather a test/check if your software is still working as indented in the upcoming releases.

                    So the question is why do you use r18b while Docs says you need to use r19c, please?

                    When I setup qt for android 5.12.0, 18b was the latest official release, and even listed in the docu as such.

                    Apparenlty the latest version is Pie 9 API level 28.

                    yes, but I was talking about the oldest api level still allowed to be used in the PlayStore.

                    My android build sdk (for any QML app for Android) is always on android-28.
                    Bad habit?

                    No, not necessarily, at least in my opinion. Use what works ;-)

                    I didn't get this part either! :) What "it" do you say please?

                    https://www.urbandictionary.com/define.php?term=if it ain't broke%2C don't fix it

                    The question is, when do you think/feel you have to update it?

                    when something doesn't work anymore with old apis/software.
                    Google is going to require 64bit apks alongside normal ones very soon, as in this or the coming year.
                    I'm sure an update on my side is being required than, at the very least.

                    T Offline
                    T Offline
                    tomy
                    wrote on 23 Apr 2019, 19:15 last edited by tomy
                    #19

                    @J.Hilk

                    The phrase was a bit old school. ;-) hhhhh

                    Anyway, I mean the word you were referring by 'it' more. I suppsoe it was "sdk api level".

                    I installed 5.12.3 and it's given me both MinGW 32-bit and 64-bit! Not the thing you were waiting for?

                    To sum up, there is no version of ndk and jdk which will work for any devices running Android from 4 to 9, right? And do we just need to test?! (I don't think so!)

                    And being up-to-date for all stuff (sdk, ndk and jdk) doesn't guarranty that your Android app works on all various devices. Right?

                    J 1 Reply Last reply 23 Apr 2019, 20:06
                    0
                    • T tomy
                      23 Apr 2019, 19:15

                      @J.Hilk

                      The phrase was a bit old school. ;-) hhhhh

                      Anyway, I mean the word you were referring by 'it' more. I suppsoe it was "sdk api level".

                      I installed 5.12.3 and it's given me both MinGW 32-bit and 64-bit! Not the thing you were waiting for?

                      To sum up, there is no version of ndk and jdk which will work for any devices running Android from 4 to 9, right? And do we just need to test?! (I don't think so!)

                      And being up-to-date for all stuff (sdk, ndk and jdk) doesn't guarranty that your Android app works on all various devices. Right?

                      J Offline
                      J Offline
                      J.Hilk
                      Moderators
                      wrote on 23 Apr 2019, 20:06 last edited by
                      #20

                      @tomy

                      I installed 5.12.3 and it's given me both MinGW 32-bit and 64-bit! Not the thing you were waiting for?

                      No I actually mean this one.
                      0_1556049751277_8ae68e5b-360d-44e7-8e33-bfab0bd089f7-image.png

                      To sum up, there is no version of ndk and jdk which will work for any devices running Android from 4 to 9, right? And do we just need to test?! (I don't think so!)

                      Well, Qt is limited to minimal Android version of 4.4. And any APK that works on the newest api should also work backwards without (much) issues. That one google actually get's down pretty good.

                      And being up-to-date for all stuff (sdk, ndk and jdk) doesn't guarranty that your Android app works on all various devices. Right?

                      I would say, mostly correct ;-)
                      nothing is guaranteed.


                      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                      Q: What's that?
                      A: It's blue light.
                      Q: What does it do?
                      A: It turns blue.

                      T 1 Reply Last reply 23 Apr 2019, 20:16
                      1
                      • J J.Hilk
                        23 Apr 2019, 20:06

                        @tomy

                        I installed 5.12.3 and it's given me both MinGW 32-bit and 64-bit! Not the thing you were waiting for?

                        No I actually mean this one.
                        0_1556049751277_8ae68e5b-360d-44e7-8e33-bfab0bd089f7-image.png

                        To sum up, there is no version of ndk and jdk which will work for any devices running Android from 4 to 9, right? And do we just need to test?! (I don't think so!)

                        Well, Qt is limited to minimal Android version of 4.4. And any APK that works on the newest api should also work backwards without (much) issues. That one google actually get's down pretty good.

                        And being up-to-date for all stuff (sdk, ndk and jdk) doesn't guarranty that your Android app works on all various devices. Right?

                        I would say, mostly correct ;-)
                        nothing is guaranteed.

                        T Offline
                        T Offline
                        tomy
                        wrote on 23 Apr 2019, 20:16 last edited by
                        #21

                        @J.Hilk

                        No I actually mean this one.
                        0_1556049751277_8ae68e5b-360d-44e7-8e33-bfab0bd089f7-image.png

                        0_1556050486616_Capture.PNG

                        Well, Qt is limited to minimal Android version of 4.4. And any APK that works on the newest api should also work backwards without (much) issues.

                        But the sdk for that level should have been previously installed, yeah?

                        I would say, mostly correct ;-)
                        nothing is guaranteed.

                        Thanks.

                        J 1 Reply Last reply 23 Apr 2019, 20:43
                        0
                        • T tomy
                          23 Apr 2019, 20:16

                          @J.Hilk

                          No I actually mean this one.
                          0_1556049751277_8ae68e5b-360d-44e7-8e33-bfab0bd089f7-image.png

                          0_1556050486616_Capture.PNG

                          Well, Qt is limited to minimal Android version of 4.4. And any APK that works on the newest api should also work backwards without (much) issues.

                          But the sdk for that level should have been previously installed, yeah?

                          I would say, mostly correct ;-)
                          nothing is guaranteed.

                          Thanks.

                          J Offline
                          J Offline
                          J.Hilk
                          Moderators
                          wrote on 23 Apr 2019, 20:43 last edited by
                          #22

                          @tomy said in The process "...\android_armv7\bin\androiddeployqt.exe" exited with code 14.:

                          But the sdk for that level should have been previously installed, yeah?

                          nope that‘s just waste of hd-space, gradle will only ever use one version anyway. By default the latest, I think.


                          Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                          Q: What's that?
                          A: It's blue light.
                          Q: What does it do?
                          A: It turns blue.

                          T 1 Reply Last reply 23 Apr 2019, 20:51
                          0
                          • J J.Hilk
                            23 Apr 2019, 20:43

                            @tomy said in The process "...\android_armv7\bin\androiddeployqt.exe" exited with code 14.:

                            But the sdk for that level should have been previously installed, yeah?

                            nope that‘s just waste of hd-space, gradle will only ever use one version anyway. By default the latest, I think.

                            T Offline
                            T Offline
                            tomy
                            wrote on 23 Apr 2019, 20:51 last edited by tomy
                            #23

                            @J.Hilk

                            nope that‘s just waste of hd-space, gradle will only ever use one version anyway. By default the latest, I think.

                            Really?

                            Do you mean the part inside the red line in the screenshot below is enough for almost any Android device?

                            0_1556052679145_Capture.PNG

                            J 1 Reply Last reply 23 Apr 2019, 20:59
                            0
                            • T tomy
                              23 Apr 2019, 20:51

                              @J.Hilk

                              nope that‘s just waste of hd-space, gradle will only ever use one version anyway. By default the latest, I think.

                              Really?

                              Do you mean the part inside the red line in the screenshot below is enough for almost any Android device?

                              0_1556052679145_Capture.PNG

                              J Offline
                              J Offline
                              J.Hilk
                              Moderators
                              wrote on 23 Apr 2019, 20:59 last edited by
                              #24

                              @tomy jupp
                              this is my install, I'm able to cover nearly everything, according to the PlayStore statistics:

                              0_1556053143971_3434c746-b6b5-4508-a0ad-10edd9cc60db-image.png


                              Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                              Q: What's that?
                              A: It's blue light.
                              Q: What does it do?
                              A: It turns blue.

                              1 Reply Last reply
                              1

                              20/24

                              23 Apr 2019, 20:06

                              • Login

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