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?.
2 Antworten
+ 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.
+ 2
Thanks for the tip. I'll try it.