0

Translate Java Android App into kotlin

Hello. Is there a way to automatically convert an Android app that I programmed in Java to Kotlin?.

19th Jul 2024, 7:02 AM
Kuchenesser
2 Respuestas
+ 5
IntelliJ or Android Studio can convert Java code to Kotlin, but not an entire project, just piece by piece. https://www.baeldung.com/kotlin/convert-java-to-kotlin Kotlin has a different set of best practices, tools and frameworks, and I think line-by-line code conversion will probably not give you the most optimal result, compared to starting from scratch in Kotlin, or rewriting it manually. But I might be wrong, I haven't used these tools myself.
19th Jul 2024, 7:46 AM
Tibor Santa
Tibor Santa - avatar
+ 2
Thanks for the tip. I'll try it.
19th Jul 2024, 7:54 AM
Kuchenesser