Jueves, 13 Diciembre, 2018

Android Studio 3.0 Will Bring Native Support for Kotlin

Kotlin screenshot Google makes Kotlin a first-class language for writing Android apps
Ramiro Mantilla | 18 May, 2017, 10:01

Google just announced that it will officially support Kotlin on Android.

Kotlin support is one of the most sweeping changes in the newest Android Studio, but not the most dramatic; the IDE now fully supports Instant Apps, cloud-fed bits of apps that users can use without permanently downloading them. Android Studio is now also able to debug apps that weren't built in it, making it useful to all Android developers, even those who don't want to use Android Studio. Like Java, which is the default language for Android development, Kotlin is a language that runs on the JVM (Java Virtual Machine), and it's already possible to use Kotlin and other JVM languages for Android development. This means developers can take existing code and easily build new features or replace Java code in pieces. It's 100 percent interoperable with Java, which until now was Google's only primary language for writing Android apps. Kotlin includes support for a number of features that Java itself doesn't now support.

Kotlin was first announced in July 2011, with version 1.0 arriving in February 2016.

When we started the journey with Kotlin over 6 years ago, we aimed at creating a language that would be in line with the same principles that drive our tools - create something that helps developers with the tedious and mundane tasks, allowing them to focus on what's truly important. Android Studio will walk you through adding Kotlin dependencies into your project and convert the code to functionally equivalent Kotlin code.