Android deployment with 5.2.0-beta1 fails with code 14
-
To receive more information from androiddeployqt try to pass --verbose param (when run from command line). Maybe this helps to define issue.
-
I solved the same issue installing the latest jdk (release 7 u45, before i had the jre6 :) )
The application (debug) is huuuge but it works :) -
I have tried with jdk 7, u45
no difference
problem remains -
Phew! it works in Qt5.2.0 RC1
-
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 ?
-
I have Installed API-16 android sdk
now its working -
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)
-
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. -
Can someone help me ?
-
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.
-
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.
-
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