You can just use the Kotlin compiler, or separate some scratch files in your Android Studio project. There's nothing wrong with learning Kotlin, but learning Android development is using the whole toolbox at a beginner level.
The Kotlin compiler can be run from the command line. Doing it that way might separate your concerns.
Have you looked at using Compose? Philip Lackner has some easy tutorials to follow. It takes some of the major development hurdles out of your way.
Chemistry and attraction.