I have an Android project recently converted to Gradle from Maven / IntelliJ. The project has a traditional maven structure with sdk applications and projects representing collaborative projects referenced through communication. I can import any of the projects into Android Studio correctly and build them, but when I try to import SK as a module into the application project (this is what we did in IntelliJ), Android Studio basically refuses to import it. I am using Android Studio 0.8.2. The actual error I get is
Specify Gradle or Android Eclipse Project Location
if I select the SDK.iml file or
Select modules to import
if I select the build.gradle file or the root directory.
I would like to avoid converting to the current mechanism of the Gradle superproject, because this will require new source control and lose valuable history.
What I tried:
- Separating projects works, but does not allow you to debug the SDK and, as a rule, is a pain to manage because of several windows.
- Using an empty superproject. This gives both projects in the same windows, but Android Studio no longer detects project controls. IntelliJ correctly identifies the source controls of the children in the previous configuration.
Is there a way to make the Import module work in Android Studio, like in IntelliJ?
source
share