简体   繁体   中英

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

Is it possible to add a Gradle managed Android to an existing IntelliJ project that already has other modules? 添加到已经具有其他模块的现有IntelliJ项目中? Specifically, when adding a new Android module to an existing project I don't get the option to select 'Gradle: Android Application'. However, I do get this option if I select 'New ' instead of 'New '. ”而不是“ New ”,则会得到此选项。

I'm using IntelliJ IDEA Ultimate 13.1.13.

I believe you can simply select File->"import module" then select the build.gradle file for the project. That's how I add multiple Gradle projects to one Intellij project.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM