Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已将 eclipse 项目导入 IDEA 并为 Ant 创建了我的自定义 build.xml。它工作正常,但是当我按“构建项目”时,我希望 IDEA 使用我自己的 build.xml 而不是默认值。我怎样才能做到这一点?
IntelliJ IDEA 默认不使用任何脚本来构建您的 Android 项目。它结合了复杂的增量 Make 系统和 Android 工具,以节省构建项目的时间。
如果您想使用自定义 Ant 脚本构建项目,只需将其添加到 Ant 构建面板并从那里运行所需的目标。
请注意,可以在 IntelliJ IDEA 中为 Ant 构建目标分配键盘快捷键: