mac下QT安卓编译报错aidl

牧牛童子 2020-11-15 09:08:32
mac+qt5.7.1+android;报错,代码、JDK、NDK、ant 在6月份还编译过,成功,目前APP在手上正使用着。
最近修改一下APP,结果发现原来的都不能编译。(最近将OSX系统从10.12 升级到10.15了,仅有这一个变化,不知道是不是这个的影响)
尝试过重新启动SDK管理器,重新下载组件,仍无效;

错误信息如下:
-------------------------

:compileDebugAidl FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileDebugAidl'.
> org.gradle.process.internal.ExecException: A problem occurred starting process 'command '/Users/xxx/Android_SDK_Kit/android-sdk-macosx/build-tools/23.0.3/aidl''
...全文
6219 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
牧牛童子 2020-11-28
  • 打赏
  • 举报
回复
大神在哪里,我折腾了两周了,换过Qt各种版本,始终未能成功; (代码在Ubuntu16.04 VM上成功编译,OSX10.12时也也可以编译) :checkDebugManifest :prepareDebugDependencies :compileDebugAidl FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':compileDebugAidl'. > org.gradle.process.internal.ExecException: A problem occurred starting process 'command '/Users/and/Android_SDK_Kit/android-sdk-macosx/build-tools/23.0.3/aidl'' * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 9.783 secs Building the android package failed! -- For more information, run this command with --verbose. 18:44:24: 进程"/Users/and/Qt5.8.0/5.8/android_armv7/bin/androiddeployqt"退出,退出代码 14 。 Error while building/deploying project tuapk01untitled (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.8.0)) When executing step "Build Android APK" 18:44:24: Elapsed time: 00:16.

16,240

社区成员

发帖
与我相关
我的任务
社区描述
Qt 是一个跨平台应用程序框架。通过使用 Qt,您可以一次性开发应用程序和用户界面,然后将其部署到多个桌面和嵌入式操作系统,而无需重复编写源代码。
社区管理员
  • Qt
  • 亭台六七座
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧