【问题标题】:error in NetBeans for android setContentViewandroid setContentView 的 NetBeans 中的错误
【发布时间】:2013-12-10 12:29:59
【问题描述】:

安装 android sdk 和 NetBeans 的 android 插件后出现以下错误: c:/Android/android-sdk/tools/ant/build.xml:892:执行此行时出现以下错误:

c:/Android/android-sdk/tools/ant/build.xml:894: 执行此行时出现以下错误: c:/Android/android-sdk/tools/ant/build.xml:906:执行此行时出现以下错误: c:/Android/android-sdk/tools/ant/build.xml:284: null 返回:2

【问题讨论】:

    标签: android netbeans


    【解决方案1】:

    我的猜测是环境没有正确配置为运行构建。您可以查看 c:/Android/android-sdk/tools/ant/build.xml:284 以查看在那里执行的内容。您可能需要告诉 Ant Java 安装在哪里或类似的位置。

    【讨论】:

    • 我看不到 build.xml:284 还有 build.xml 和 uibuild.xml
    • 如何告诉ant java在哪里?
    • 输出结构为 :。至于Java home:可以设置环境变量或者传递一些属性。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-04-06
    • 2018-10-02
    • 1970-01-01
    相关资源
    最近更新 更多