I am very new to both the Android and JVM platforms. Using Android Studio, I would like to create an Android app and put most of my business logic in a library. I would also like to just use Kotlin, no Java.
When I go to File
> New Module
, the options listed are
- Phone & Tablet module
- Android Library
- Instant App
- Feature Module
- Android Wear Module
- Android TV Module
- Android Things Module
- Import Gradle Project
- Import Eclipse ADT Project
- Import .JAR/.AAR Package
- Java Library
I can create a Kotlin-based library with the Android Library
option, but this also includes a lot of files for dealing with resources and controls.
I just want a pure Kotlin library. What is the easiest way to create one?
- Can I delete a portion of an Android Library?
- Can I change some settings in a Java Library?
- Can I download a plugin that will just give me the option to create a Kotlin library?
I am still a bit confused the file organization in Java/Kotlin/Android projects.