Kotlin and Android
I know i'm a little bit late but here we go.. 😈😈
The Google team has now officially supported Kotlin as official
programming language. It’s exciting for Android developer like us because it
brings in all of the benefits of modern programming languages to Android
platform without any restrictions. Kotlin has been supported by many other
large companies like Pininterest, Basecamp and Keepsafe’s app lock.
Kotlin Vs Java
Any language is not a perfect one. There are benefits as
well as liabilities. But the new versions always tend to surpass the old ones.
There were some series of issues that Java encountered which is now fixed in
Kotlin such as invariant arrays, no checked exceptions and raw types and null
references are controlled by the type system.
Get started with Kotlin in Android.
You can download and install new Android studio 3.0 (will soon be available) which
includes Kotlin support out of the box or if you already have the previous
versions of Android Studio installed then follow the following steps on:
HOW TO INSTALL KOTLIN PLUGIN on Android Studio
1.
Go to file
2.
Click onSettings option
3.
Go to plugins-> Install Jetbrains Plugin
4.
Search for Kotlin and click on install.
FROM “WELCOME” SCREEN
1.
Go to Configure -> Plugins ->Install
JetBrains plugin
2.
Search Kotlin and select.
3. Restart the IDE after completion.
Comments
Post a Comment