Home > Mobile >  Help!!!!!! QT for Android exit code 14
Help!!!!!! QT for Android exit code 14

Time:02-09

QT version: 5.14.2
JDK. The JDK 8 u281 - Windows - x64
4.1 Windows SDK: android - sdk_r24.
The NDK: android - the NDK - r21d - Windows - x86_64
According to the tutorial to install, configure the environment variables, after installation of QT showed normal, below for QT interface

Build the project in Generating the Android Package stay for a long time, to find the information from the Internet, but ali warehouse, check the day information could have tried to try or not, still make mistakes, as follows:
 Generating Android Package 
Input file: D:/MyCppWorkspace/build - TEST1111 Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_14_2_for_Android - Debug/android - TEST1111 - deployment - Settings. Json
The Output directory: D:/MyCppWorkspace/build - TEST1111 Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_14_2_for_Android - Debug/android - build/
The Application binary: TEST1111
The Android build platform: Android - 29
Install the to device: No

FAILURE: the Build failed with an exception.

* Where:
Build the file 'D: \ MyCppWorkspace \ Build - TEST1111 - Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_14_2_for_Android - Debug \ android - Build \ Build gradle' line: 1

* What went wrong:
A problem occurred evaluating root project 'android - build.
Could not find method? Buildscript () for the arguments [build_h9xuh45k4zu783d0js50vpxl $47 d023b7 _run_closure1 @] on root project 'android - build of type org. Gradle. API. Project.

* Try:
Run with -- stacktrace option to get the stack trace. Run with -- the info or -- debug option to get more the log output. The Run with -- scan to get full insights.

* Get more help at https://help.gradle.org

The BUILD FAILED in 4 s
- Skipping C:/Qt/Qt5.14.2 5.14.2/android/plugins/iconengines libplugins_iconengines_qsvgicon_armeabi - v7a. So, It has unmet dependencies: lib/libQt5Svg_armeabi - v7a. So.
- Skipping C:/Qt/Qt5.14.2 5.14.2/android/plugins/imageformats libplugins_imageformats_qsvg_armeabi - v7a. So, It has unmet dependencies: lib/libQt5Svg_armeabi - v7a. So.
Skipping createRCC
Building the android package failed!
- For more information, run this command with the -- verbose.
23:53:46: process "C: \ Qt \ Qt5.14.2\5.14.2 \ android \ bin \ androiddeployqt exe" quit, exit code 14,
Error while building/deploying project TEST1111 (kit: Android for armeabi - v7a arm64 - v8a, x86, x86_64 (for Android) with a Clang Qt 5.14.2)
The When executing step "Build Android APK"



Have great god help to see how to know, thank you very much!!!!!

CodePudding user response:

The output information to post more

CodePudding user response:

reference 1/f, mango black response:
output information to stick a multipoint


This is all the

 10:01:31: for project TEST1111 step... 
10:01:31: starting "C: \ Qt \ Qt5.14.2\5.14.2 \ android \ bin \ qmake exe" D: \ MyCppWorkspace \ TEST1111 \ TEST1111 pro - spec android - clang "CONFIG +=qtquickcompiler" ANDROID_ABIS="armeabi - v7a
"
10:01:32: process "C: \ Qt \ Qt5.14.2\5.14.2 \ android \ bin \ qmake exe" normal exit,
10:01:32: starting "D: \ Environment \ android - the NDK - r21d \ prebuilt \ Windows - x86_64 \ bin \ make exe" - f in D:/MyCppWorkspace/build - TEST1111 - Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_14_2_for_Android - Release/Makefile qmake_all

Make: Nothing to be done for 'qmake_all.
10:01:33: process "D: \ Environment \ android - the NDK - r21d \ prebuilt \ Windows - x86_64 \ bin \ make exe" normal exit,
10:01:33: starting "D: \ Environment \ android - the NDK - r21d \ prebuilt \ Windows - x86_64 \ bin \ make exe" - j4

Make: Nothing to be done for 'first'.
10:01:33: process "D: \ Environment \ android - the NDK - r21d \ prebuilt \ Windows - x86_64 \ bin \ make exe" normal exit,
10:01:33: o directory D: \ MyCppWorkspace \ build - TEST1111 - Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_14_2_for_Android - Release \ android - build/libs
10:01:33: starting "D: \ Environment \ android - the NDK - r21d \ prebuilt \ Windows - x86_64 \ bin \ make exe" "INSTALL_ROOT=D: \ MyCppWorkspace \ build - TEST1111 - Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_14_2_for_Android - Release \ android - build" install

C: \ Qt \ Qt5.14.2\5.14.2 \ android \ bin \ qmake exe - install qinstall - exe libTEST1111_armeabi - v7a. So D: \ MyCppWorkspace \ build - TEST1111 - Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_14_2_for_Android - Release \ android - build \ libs \ armeabi - v7a \ libTEST1111_armeabi - v7a. So
10:01:34: process "D: \ Environment \ android - the NDK - r21d \ prebuilt \ Windows - x86_64 \ bin \ make exe" normal exit,
10:01:34: Starting: "C: \ Qt \ Qt5.14.2\5.14.2 \ android \ bin \ androiddeployqt exe" - input D:/MyCppWorkspace/build - TEST1111 Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_14_2_for_Android - Release/android - TEST1111 - deployment - Settings. Json - output D:/MyCppWorkspace/build - TEST1111 - Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_14_2_for_Android - Release/android - build - the android platform android - 29 - JDK "C:/Program Files/Java/jdk1.8.0 _281" - gradle
Generating the Android Package
The Input file: D:/MyCppWorkspace/build - TEST1111 Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_14_2_for_Android - Release/android - TEST1111 - deployment - Settings. Json
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  •  Tags:  
  • Qt
  • Related