Kotlin on the Jetson

I’m looking to build a cross platform app which runs on android and linux and I was thinking of writing one piece of code that will compile on both machines, as Android studio’s offers writing in Kotlin I would like to know if Kotlin is compilable and compatible on the the different Jetsons?

I have no idea if can work, and 1st time hears this requirement, may other developers share experiences.