【问题标题】:how can I build an android project without eclipse?如何在没有 Eclipse 的情况下构建 android 项目?
【发布时间】:2011-12-11 10:02:44
【问题描述】:

我有一个在 Eclipse 中创建和构建的 android 应用程序,它由 2 个包含多个包的项目组成。 我需要从 eclipse 中构建它才能获取 build.xml 文件。 我发现了这个:

  android create project \
--package com.example.helloandroid \
--activity HelloAndroid \
--target 2 \
--path <path-to-your-project>/HelloAndroid

问题是,我有很多包,但我不知道如何构建它。 我需要指定所有这些吗?怎么样?

【问题讨论】:

  • 我的解决方案是在 Eclipse 中构建我的项目,使用 export -> ant buildfile 选项生成我需要的 build.xml 文件。

标签: java android eclipse build.xml


【解决方案1】:

这似乎与我假设的您正在寻找的解决方案相似:

Compile android project to apk without eclipse

【讨论】:

    猜你喜欢
    • 2016-01-26
    • 2014-02-20
    • 1970-01-01
    • 1970-01-01
    • 2015-02-23
    • 2010-10-04
    • 2023-03-16
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多