【问题标题】:Qt 5.1 for android occurs error in apache-antQt 5.1 for android 在 apache-ant 中出现错误
【发布时间】:2013-07-05 07:45:24
【问题描述】:

android 的 Qt5.1 已经发布了,所以我只是尝试一下。好吧,在我安装了 Android SDK、Android NDK、openJDK 和 apache-ant 之后,我启动了 Qt 创建器,但我无法运行它。以下错误:

error: packing:'/opt/apache-ant-1.9.1/bootstrap/bin/ant clean debug'command
failed. Exit code: 1

如何度过难关?最好的问候:-)


我发现我的蚂蚁不能正常工作!在我的 /opt/apache-ant-1.9.1 目录中,我先运行 bootstrap.sh,然后再运行 build.sh。所有“构建成功”。但是当我在我的 Torminal 中运行“ant”时:

ERROR: cannot find or load the main class org.apache.tools.ant.launch.Launcher

但我确实在“/opt/apache-ant-1.9.1/build/classes/org/apache/tools/ant/launch”目录中找到了类。如何制作?

【问题讨论】:

    标签: android qt ant


    【解决方案1】:

    我收到了同样的信息。 在我使用 apt-get install ant(在 debian 中)后,它工作正常。

    【讨论】:

      【解决方案2】:

      设置首选项---> Android ---> JDK 位置为 例如对于 Mac: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2012-07-03
        相关资源
        最近更新 更多