首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >QT5.5 android编译错误

QT5.5 android编译错误
EN

Stack Overflow用户
提问于 2017-04-17 20:23:28
回答 1查看 601关注 0票数 0

我在Qt方面有过一些经验,但没有一个在Qt中使用android,我下载了:

Qt5.5-Android 1.8NDK-R14 ant-1.10SDK r26

我已经给出了工具->选项->Android中各部分的适当地址

然而,当我创建一个全新的项目,连接我的手机(三星Galaxy Note 5,USB调试)并选择armeabi-v7a(GCC 4.9,Qt 5.5.0),我会在编译时得到以下错误:

代码语言:javascript
复制
Files/Java/jdk1.8.0_121" --ant C:/Users/Vahid/Downloads/Compressed/apache-ant-1.9.6-bin/apache-ant-1.9.6/bin/ant.bat
The process tried to write to a nonexistent pipe.
The process tried to write to a nonexistent pipe.
The process tried to write to a nonexistent pipe.
The process tried to write to a nonexistent pipe.
The process tried to write to a nonexistent pipe.
The process tried to write to a nonexistent pipe.
The process tried to write to a nonexistent pipe.
The process tried to write to a nonexistent pipe.
The process tried to write to a nonexistent pipe.
The process tried to write to a nonexistent pipe.
The process tried to write to a nonexistent pipe.
The process tried to write to a nonexistent pipe.
The process tried to write to a nonexistent pipe.
The process tried to write to a nonexistent pipe.
The process tried to write to a nonexistent pipe.
The process tried to write to a nonexistent pipe.
The process tried to write to a nonexistent pipe.
The process tried to write to a nonexistent pipe.
Generating Android Package
  Input file: C:/Users/Vahid/Documents/build-TestAndroid5-Android_for_armeabi_v7a_GCC_4_9_Qt_5_5_0_c097e4-Debug/android-libTestAndroid5.so-deployment-settings.json
  Output directory: C:/Users/Vahid/Documents/build-TestAndroid5-Android_for_armeabi_v7a_GCC_4_9_Qt_5_5_0_c097e4-Debug/android-build/
  Application binary: C:/Users/Vahid/Documents/build-TestAndroid5-Android_for_armeabi_v7a_GCC_4_9_Qt_5_5_0_c097e4-Debug/libTestAndroid5.so
  Android build platform: android-25
  Install to device: No
Buildfile: build.xml does not exist!
Build failed
Building the android package failed!
  -- For more information, run this command with --verbose.
00:43:15: The process "C:\Qt\Qt5.5.0\5.5\android_armv7\bin\androiddeployqt.exe" exited with code 14.
Error while building/deploying project TestAndroid5 (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.5.0))
When executing step "Build Android APK"

我已经被困在这几天了,我感谢你的任何建议,谢谢你提前。

EN

回答 1

Stack Overflow用户

发布于 2017-04-18 18:00:06

多亏了V-Master,我把我的SDK换成了更旧的版本。看起来那只蚂蚁被从新的android SDK中移除了.

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/43459016

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档