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. Android deployment with 5.2.0-beta1 fails with code 14
Servers for Qt installer are currently down

Android deployment with 5.2.0-beta1 fails with code 14

Scheduled Pinned Locked Moved Installation and Deployment
18 Posts 8 Posters 14.5k Views 1 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.
  • K Offline
    K Offline
    kqt-mr-nv6
    wrote on last edited by
    #9

    I have tried with jdk 7, u45
    no difference
    problem remains

    1 Reply Last reply
    0
    • Z Offline
      Z Offline
      zing0000
      wrote on last edited by
      #10

      Phew! it works in Qt5.2.0 RC1

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kqt-mr-nv6
        wrote on last edited by
        #11

        I still get the same error wit !t5.2.0 RC1

        @Building the android package failed!
        -- For more information, run this command with --verbose.
        11:24:21: The process "/home/user/Qt5.2.0/5.2.0-rc1/android_armv5/bin/androiddeployqt" exited with code 14.
        Error while building/deploying project TestC (kit: Android for armeabi (GCC 4.8, Qt 5.2.0))
        When executing step 'Deploy to Android device'
        @

        any help ?

        1 Reply Last reply
        0
        • K Offline
          K Offline
          kqt-mr-nv6
          wrote on last edited by
          #12

          I have Installed API-16 android sdk
          now its working

          1 Reply Last reply
          0
          • Arty.McLabinA Offline
            Arty.McLabinA Offline
            Arty.McLabin
            wrote on last edited by
            #13

            I'm having the same problem while trying to deploy Maroon in Trouble example to a virtual android machine, it does employ to my real galaxyNote2 via USB tho (with a screen size bug, but does)

            Static linking is cool. Really.

            1 Reply Last reply
            0
            • P Offline
              P Offline
              Pablitogrillo
              wrote on last edited by
              #14

              I have the same error in qt 5.3.1 when I compile my app or some example:
              BUILD FAILED
              /home/pablo/Descargas/android-sdk-linux2/tools/ant/build.xml:653: The following error occurred while executing this line:
              /home/pablo/Descargas/android-sdk-linux2/tools/ant/build.xml:659: Execute failed: java.io.IOException: Cannot run program "/home/pablo/Descargas/android-sdk-linux2/build-tools/19.1.0/aidl": error=2, No such file or directory
              at java.lang.ProcessBuilder.start(ProcessBuilder.java:1041)

              ......

              Building the android package failed!
              -- For more information, run this command with --verbose.
              19:34:02: The process "/home/pablo/Qt5.3.1/5.3/android_armv7/bin/androiddeployqt" exited with code 14.
              Error while building/deploying project qtapp (kit: Android for armeabi-v7a (GCC 4.8, Qt 5.3.1))
              When executing step 'Deploy to Android device'

              19:34:02: Elapsed time: 00:04.

              1 Reply Last reply
              0
              • P Offline
                P Offline
                Pablitogrillo
                wrote on last edited by
                #15

                Can someone help me ?

                1 Reply Last reply
                0
                • R Offline
                  R Offline
                  rwxc
                  wrote on last edited by
                  #16

                  Hey, I too get that error, doesn't anyone knowledgeable read this? Help us out guys! I arrived here by Googling for an answer. There is another thread here: qt-project.org/forums/viewthread/34021 but I still get the error.

                  It deploys fine when you create a project "as is" with default settings but the moment I create "AndroidManifest.xml" from Projects->Build->Run->Deploy configurations, it no longer deploys and I get the error.

                  This is a big deal! Please assist.

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

                    Hi,

                    This forum is community driven so you might be hitting the case that nobody here got hit by that problem. However it's not the end of it. You still have the necessitas google group and the necessitas IRC channel where you can reach the guys that are working on the android port. There's also the interest mailing list where you can find Qt's developers/maintainers.

                    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
                    • R Offline
                      R Offline
                      rwxc
                      wrote on last edited by
                      #18

                      Ok, I've resolved the issue.

                      In my AndroidManifest.xml file I was double-declaring the android:screenOrientation tag. I had android:screenOrientation="unspecified" and on top of that I also had android:screenOrientation="landscape".

                      I successfully reproduced and fixed the error by doubling and removing the android:screenOrientation tag intentionally. I am using Qt 5.3.1.

                      So to other people experiencing the error, double check your XML file.

                      Make sure you clean your build directory. I just delete the whole directory and it just gets recreated.

                      I'd be interested to know if other people did get it fixed and how.

                      Cheers

                      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