QT Creator 构建android apk失败问题

QT Creator 构建android apk失败问题

错误如下

BUILD FAILED
D:\Android\android-sdk-windows\tools\ant\build.xml:716: The following error occurred while executing this line:
D:\Android\android-sdk-windows\tools\ant\build.xml:730: Compile failed; see the compiler error output for details.
build.xml:716 do-only-if-manifest-hasCode elseText=“hasCode = false. Skipping…”>
build.xml:730 fork="${need.javac.fork}">
Total time: 5 seconds
Building the android package failed!
– For more information, run this command with --verbose.
16:02:38: 进程"D:\Qt\5.9.1\android_armv7\bin\androiddeployqt.exe"退出,退出代码 14 。
Error while building/deploying project tetrix (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.9.1 for Android armv7))
When executing step “Build Android APK”
16:02:38: Elapsed time: 00:28.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 5
    评论
As an AI language model, I don't have access to your system or environment, so I can't provide specific troubleshooting steps. However, I can give you some general information about the error "failed building wheel for lxml". This error message typically occurs when trying to install or update the lxml package using pip, and it means that pip was unable to build a wheel (a precompiled package) for the lxml package. This can happen for various reasons, such as missing dependencies or incompatible versions of the software. Here are some general troubleshooting steps you could try: 1. Make sure you have the latest version of pip installed: `pip install --upgrade pip` 2. Install the required system dependencies for lxml, which may vary depending on your operating system. For example, on Ubuntu, you can run `sudo apt-get install python-dev libxml2-dev libxslt1-dev zlib1g-dev` to install the necessary packages. 3. Try installing lxml again using pip: `pip install lxml` 4. If the above steps don't work, you can try downloading the source code for lxml and building it manually. You can find instructions for doing this on the lxml documentation website. 5. If all else fails, you can try using a different package manager or installing lxml from a binary distribution instead of building it from source. For example, on Windows, you can use the unofficial precompiled binaries from Christoph Gohlke's website. Remember to check the error message carefully and search online for specific solutions related to your environment and operating system.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值