Is it possible to open an android project that is ...
# android
d
Is it possible to open an android project that is a child project of a kotlin multiplatform project with Android Studio? If not, are there any caveats to using IntelliJ to develop on Android?
l
The caveats are only being behind regarding Android features. I know latest IntelliJ supports AGP (Android Gradle Plugin) 3.2, but not 3.3.0 yet where you get gradle sync weirdness (unless it changed very recently). Android Studio is always on par with its AGP version. That said, I have a TornadoFx+Android multimodules project where I happily use IntelliJ with AGP 3.2.1, yet other projects I work on are in Android Studio 3.3 for now, considering moving to 3.4 beta soon).
d
@Dico yes, I don't see why not?
s
I ended up using Intellij for kotlin/jvm module and changing to android studio for app. Intellij doesn't recognize any ids while android studio can't execute/run kotlin tests and top level functions
l
@Saiedmomen There's generateDebugSources gradle tasks to generate the R classes where the ids are.
🤩 1
d
@louiscad seriously, why should somebody go crazy for configure IntelliJ for work with Android, when we already have an awesome version of IntelliJ, properly modified for work with Android, with thousands of useful tools???
🤷🏽‍♂️ 1
s
@louiscad Wow thats really helpful thanks!
d
The reason I asked is because I thought android studio doesn't support other project types.
And it would have to find a sub project that is an android project.
But it actually works just fine. Thanks