qt5.12.4安卓编译问题,生成不了apk, 求助这是哪里的问题?报错如下

20:35:47: 为项目app2执行步骤 ...
20:35:47: 配置没有改变, 跳过 qmake 步骤。
20:35:47: 正在启动 "E:\Android\android-ndk-r18b\prebuilt\windows-x86_64\bin\make.exe" -j12

make: Nothing to be done for `first'.
20:35:48: 进程"E:\Android\android-ndk-r18b\prebuilt\windows-x86_64\bin\make.exe"正常退出。
20:35:48: Removing directory D:\src\qt_src\build-app2-Android_for_armeabi_v7a_Clang_Qt_5_12_4_for_Android_ARMv7-Debug\android-build/assets
20:35:48: Removing directory D:\src\qt_src\build-app2-Android_for_armeabi_v7a_Clang_Qt_5_12_4_for_Android_ARMv7-Debug\android-build/libs
20:35:48: 正在启动 "E:\Android\android-ndk-r18b\prebuilt\windows-x86_64\bin\make.exe" "INSTALL_ROOT=D:\src\qt_src\build-app2-Android_for_armeabi_v7a_Clang_Qt_5_12_4_for_Android_ARMv7-Debug\android-build" install

E:\App\Qt\5.12.4\android_armv7\bin\qmake.exe -install qinstall -exe libapp2.so D:\src\qt_src\build-app2-Android_for_armeabi_v7a_Clang_Qt_5_12_4_for_Android_ARMv7-Debug\android-build\libs\armeabi-v7a\libapp2.so
20:35:49: 进程"E:\Android\android-ndk-r18b\prebuilt\windows-x86_64\bin\make.exe"正常退出。
20:35:49: Starting: "E:\App\Qt\5.12.4\android_armv7\bin\androiddeployqt.exe" --input D:/src/qt_src/build-app2-Android_for_armeabi_v7a_Clang_Qt_5_12_4_for_Android_ARMv7-Debug/android-libapp2.so-deployment-settings.json --output D:/src/qt_src/build-app2-Android_for_armeabi_v7a_Clang_Qt_5_12_4_for_Android_ARMv7-Debug/android-build --android-platform android-23 --jdk "C:/Program Files/Java/jdk1.8.0_202" --gradle
Generating Android Package
Input file: D:/src/qt_src/build-app2-Android_for_armeabi_v7a_Clang_Qt_5_12_4_for_Android_ARMv7-Debug/android-libapp2.so-deployment-settings.json
Output directory: D:/src/qt_src/build-app2-Android_for_armeabi_v7a_Clang_Qt_5_12_4_for_Android_ARMv7-Debug/android-build/
Application binary: D:/src/qt_src/build-app2-Android_for_armeabi_v7a_Clang_Qt_5_12_4_for_Android_ARMv7-Debug/libapp2.so
Android build platform: android-23
Install to device: No
-- Skipping E:/App/Qt/5.12.4/android_armv7/plugins/iconengines/libqsvgicon.so. It has unmet dependencies: lib/libQt5Svg.so.
-- Skipping E:/App/Qt/5.12.4/android_armv7/plugins/imageformats/libqsvg.so. It has unmet dependencies: lib/libQt5Svg.so.
:checkDebugClasspath UP-TO-DATE
:preBuild UP-TO-DATE
:preDebugBuild UP-TO-DATE
:compileDebugAidl FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':compileDebugAidl'.

    java.io.IOException: com.android.ide.common.process.ProcessException: Error while executing process E:\Android\android-sdk-windows\build-tools\29.0.0\aidl.exe with arguments {-pE:\Android\android-sdk-windows\platforms\android-23\framework.aidl -oD:\src\qt_src\build-app2-Android_for_armeabi_v7a_Clang_Qt_5_12_4_for_Android_ARMv7-Debug\android-build\build\generated\source\aidl\debug -IE:\App\Qt\5.12.4\android_armv7\src\android\java\src -ID:\src\qt_src\build-app2-Android_for_armeabi_v7a_Clang_Qt_5_12_4_for_Android_ARMv7-Debug\android-build\src -ID:\src\qt_src\build-app2-Android_for_armeabi_v7a_Clang_Qt_5_12_4_for_Android_ARMv7-Debug\android-build\src\debug\aidl -ID:\src\qt_src\build-app2-Android_for_armeabi_v7a_Clang_Qt_5_12_4_for_Android_ARMv7-Debug\android-build\aidl -dC:\Users\ADMINI~1\AppData\Local\Temp\aidl7196521705366926776.d E:\App\Qt\5.12.4\android_armv7\src\android\java\src\org\kde\necessitas\ministro\IMinistro.aidl}

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

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

BUILD FAILED in 6s
3 actionable tasks: 1 executed, 2 up-to-date
Building the android package failed!
-- For more information, run this command with --verbose.
20:35:57: 进程"E:\App\Qt\5.12.4\android_armv7\bin\androiddeployqt.exe"退出,退出代码 14 。
Error while building/deploying project app2 (kit: Android for armeabi-v7a (Clang Qt 5.12.4 for Android ARMv7))
When executing step "Build Android APK"
20:35:57: Elapsed time: 00:10.

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问