简体   繁体   English

Intellij IDEA 13.1.13中具有Android + Gradle的多模块项目

[英]Multi-module project in Intellij IDEA 13.1.13 with Android+Gradle

Is it possible to add a Gradle managed Android module to an existing IntelliJ project that already has other modules? 是否可以将Gradle管理的Android 模块添加到已经具有其他模块的现有IntelliJ项目中? Specifically, when adding a new Android module to an existing project I don't get the option to select 'Gradle: Android Application'. 具体来说,将新的Android模块添加到现有项目时,我没有选择“ Gradle:Android Application”的选项。 However, I do get this option if I select 'New Project ' instead of 'New Module '. 但是,如果我选择“ New Project ”而不是“ New Module ”,则会得到此选项。

I'm using IntelliJ IDEA Ultimate 13.1.13. 我正在使用IntelliJ IDEA Ultimate 13.1.13。

I believe you can simply select File->"import module" then select the build.gradle file for the project. 我相信您可以简单地选择File->“ import module”,然后为该项目选择build.gradle文件。 That's how I add multiple Gradle projects to one Intellij project. 这就是我将多个Gradle项目添加到一个Intellij项目的方式。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 将多模块Android Intellij Project移植到Android Studio - porting multi-module Android Intellij Project to Android Studio 具有多模块android库的Gradle配置 - Gradle configuration with multi-module android library 更新到android gradle插件2.3后,多模块MultiDex项目不会运行测试 - Multi-module MultiDex project won't run tests after update to android gradle plugin 2.3 Android多模块项目因TypeNotPresentException失败 - Android multi-module project fails with TypeNotPresentException 如何在Gradle多模块项目中使用ObjectBox? - How to use ObjectBox in Gradle multi-module project? 使用 gradle DSL 在多模块项目中声明风味依赖项 - Declaring flavor dependencies in multi-module project using gradle DSL JaCoCo 与 Gradle Kotlin 多模块 Android 项目 - isTestCoverageEnabled 实际上是做什么的? - JaCoCo with Gradle Kotlin multi-module Android project - what does isTestCoverageEnabled actually do? 多模块gradle项目 - 执行所有单元测试 - Multi-module gradle project - Executing all Unit tests Gradle api与多模块项目实施的最佳实践 - Best practice for Gradle api vs implementation in multi-module project Android Gradle项目(Intellij IDEA)中的依赖项 - Dependencies in Android Gradle project (Intellij IDEA)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM