如何解决对Necessitas(QT)的Andr​​oid包装错误? [英] How do I fix Android packaging error for Necessitas (Qt)?

查看:165
本文介绍了如何解决对Necessitas(QT)的Andr​​oid包装错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:结果
  <一href=\"http://stackoverflow.com/questions/5422931/how-to-build-my-helloworld-android-application-with-necessitas-qt-port\">How与Necessitas(QT端口)建立我的HelloWorld Android应用程序?

这是我第一次在这里发帖,所以如果这个职位似乎应该是在不同的部分随意让我知道=)。

This is my first time posting here, so if this post seems like it should be in a different section feel free to let me know =).

我试图运行使用Necessitas Android的一个简单的应用程序。该应用程序不具有任何功能;它是所有显示器(或应该显示)在屏幕上的按钮。我只是做这个作为测试以获取Necessitas的感觉在我开始任何严重的发展。当我打的运行按钮Necessitas开始建立我的应用程序,但随后停止并显示以下错误消息:

I am trying to run a simple application for Android using Necessitas. The application does not have any functionality; all it does is display (or is supposed to display) a button on the screen. I am just doing this as a test to get a feel for Necessitas before I start any serious development. When I hit the ‘run’ button Necessitas begins to build my application, but then stops and displays the following error message:

包装错误:命令
  C:\\用户\\催化剂\\ necessitas / Apache的ANT-1.8.2 /斌/ ant.bat干净
  调试failed.Exit code:1错误,而建设项目atest2
  (目标:Android版)在执行生成步骤'为Android包装

Packaging Error: Command ‘C:\Users\Catalyst\necessitas/apache-ant-1.8.2/bin/ant.bat clean debug’ failed.Exit code: 1 Error while building project atest2 (target: Android) When executing build step ‘Packaging for Android’

搜索谷歌并没有产生任何提示,以帮助解决我的问题。我也贴在了Qt开发者论坛这一问题。它是近一个星期以来我张贴那里,没有人回答。请帮帮我!我有很多的应用程序伟大的想法,我想尽快开始开发!

A search on Google did not produce any instructions to help remedy my issue. I also posted this question in the Qt developer forum. It's been nearly a week since I posted there and no one answered. Please help me! I have a lot of great ideas for apps that I would like to start developing ASAP!

推荐答案

我有同样的问题。问题是Java文件。我不记得我有完全完成,但下载最新版本的Java和安装它,然后尝试。同时,我会尽力看看有什么我有完全完成。

I had same problem. Problem is in java files. I can't remember what I have done exactly but download latest java and install it and then try. Meanwhile I'll try to see what I have done exactly.

0是啊,我记得你需要环境变量设置为您JAVA JDK。所以还是开始\\右击我的电脑preSS enviromment变量和系统变量,你会看到JAVA_HOME变量编辑路径,您的JDK例如:C:\\程序文件\\ java的\\ JDK 1.7.0

O yea I remember you need to set enviroment variable to you java jdk. So go start\right- click my computer press enviromment variables and in system variables you'll see JAVA_HOME variable edit path to you jdk for example: c:\program file\java\jdk 1.7.0

这为我工作。

Denonth

这篇关于如何解决对Necessitas(QT)的Andr​​oid包装错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆