赞
踩
错误提示
。
FAILURE: Build failed with an exception. * What went wrong: Could not determine the dependencies of task ':compileDebugJavaWithJavac'. > Failed to install the following Android SDK packages as some licences have not been accepted. build-tools;28.0.3 Android SDK Build-Tools 28.0.3 To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager. Alternatively, to transfer the license agreements from one workstation to another, see http://d.android.com/r/studio-ui/export-licenses.html Using Android SDK: C:\Users\Ch\AppData\Local\Android\sdk * 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 5s Building the android package failed! -- For more information, run this command with --verbose. 23:33:32: 进程"D:\iFiles\QT\5.14.2\android\bin\androiddeployqt.exe"退出,退出代码 14 。 Error while building/deploying project QtBT (kit: Android for armeabi-v7a,arm64-v8a,x86,x86_64 (Clang Qt 5.14.2 for Android)) When executing step "Build Android APK" 23:33:32: Elapsed time: 04:23.
右键选择Manage Kits
选择下载提示里少的SDK即可
18:57:38: 进程"D:\iFiles\Qt\5.14.2\android\bin\androiddeployqt.exe"正常退出。
18:57:38: Elapsed time: 00:07.
搞了两三天,按网上的方法试了好几次,只有这个是有效的
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。