PDA

View Full Version : QMake THE ANDROID ARMEABI v7a NOT COMPILE DEPLOY QT



joaovictor
14th May 2017, 02:41
I got an error that prevents me from making the application run on my phone even though I have downloaded and configured the android compiler SDK, NDK, and ANT. My Java is sdk-8 and it's configured correct too .. the only error message I get is this. What can I do to solve it?

22:23:56: The process "/usr/bin/make" exited normally.
22:23:56: Starting: "/home/qt/5.8/android_x86/bin/androiddeployqt" --input /home/joaovictor/oceano/build-mar-Android_for_x86_GCC_4_9_Qt_5_8_0-Debug/android-libmar.so-deployment-settings.json --output /home/joaovictor/oceano/build-mar-Android_for_x86_GCC_4_9_Qt_5_8_0-Debug/android-build --deployment bundled --android-platform android-25 --jdk /usr/lib/jvm/java-8-oracle --ant /usr/bin/ant
Generating Android Package
Input file: /home/joaovictor/oceano/build-mar-Android_for_x86_GCC_4_9_Qt_5_8_0-Debug/android-libmar.so-deployment-settings.json
Output directory: /home/joaovictor/oceano/build-mar-Android_for_x86_GCC_4_9_Qt_5_8_0-Debug/android-build/
Application binary: /home/joaovictor/oceano/build-mar-Android_for_x86_GCC_4_9_Qt_5_8_0-Debug/libmar.so
Android build platform: android-25
Install to device: No
Buildfile: build.xml does not exist!
Build failed
Building the android package failed!
-- For more information, run this command with --verbose.
22:23:57: The process "/home/qt/5.8/android_x86/bin/androiddeployqt" exited with code 14.
Error while building/deploying project mar (kit: Android for x86 (GCC 4.9, Qt 5.8.0))
When executing step "Build Android APK"
22:23:57: Elapsed time: 00:09.

12464

sirop
17th May 2017, 20:04
Try Release instead of Debug.

Also check http://wiki.qt.io/Qt_for_Android_known_issues .