直接运行报错信息
11:49:23: The process "C:\Qt5.15\5.15.2\android\bin\androiddeployqt.exe" exited with code 255.
11:49:23: Installing the app failed with an unknown error.
编译设备里面没有Android
- 但是我已经安装了Android的QT库(反复安装了几次)。
构建报错信息:
FAILURE: Build failed with an exception.
* What went wrong:
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the User Manual chapter on the daemon at https://docs.gradle.org/5.6.4/userguide/gradle_daemon.html
Process command line: C:\Program Files (x86)\Java\jdk1.8.0_181\bin\java.exe -Xmx2048m -Dfile.encoding=GBK -Duser.country=CN -Duser.language=zh -Duser.variant -cp C:\Users\Administrator\.gradle\wrapper\dists\gradle-5.6.4-bin\bxirm19lnfz6nurbatndyydux\gradle-5.6.4\lib\gradle-launcher-5.6.4.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 5.6.4
Please read the following process output to find out more:
-----------------------
Error occurred during initialization of VM
Could not reserve enough space for 2097152KB object heap
* 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
Building the android package failed!
-- For more information, run this command with --verbose.
11:46:37: 进程"C:\Qt5.15\5.15.2\android\bin\androiddeployqt.exe"退出,退出代码 14 。
Error while building/deploying project test3 (kit: Android Qt 5.15.2 Clang Multi-Abi)
When executing step "Build Android APK"
11:46:37: Elapsed time: 00:28.