This seems to be in part because of how an Android app is recognized for building. If you do not have an “app” inside with the shared code it wont compile properly for android. In my project I have a blank “app” with almost nothing in the manifest to get it to properly build for android targets that are outside of the Shared Code.
3 years ago
I don't know why IDEA structured like that, but you can separate it. Create an empty Gradle project and add individual modules you want in the root project. Maybe Android and Kotlin Multiplatform Library.