Kotlin - Beginning with kotlin Android Studio.



This Tutorial is totally based on new and lastest updates from Android Studio. From now Kotlin has been declared as the official language for Android Application development. So before moving further lets clear out some of the facts and let us sharpen us about kotlin.

Kotlin is a statically-typed programming language that runs on the Java Virtual Machine and also can be compiled to JavaScript source code or uses the LLVM compiler infrastructure. Its primary development is from a team of Jet Brains programmers based in Saint Peters burg, Russia. You can know more about it here.

So now let's start working with Kotlin in Android Studio. for this you can also download the Latest version of Android Studio 3.0 Canary here or manually install plugin for Kotlin in your old Android Studio such like this.


After Downloading and Installing it, the Canary Android Studio's launch screen should look like this.

-- screen splash --
-- studio setup --
-- new project --
After doing all that create a new Kotlin Android Project, Let us begin with our First Hello World! app.

Make sure to check the Include Kotlin support

here is the code for the project just copy and past it to yours.
activity_main.xml
MainActivity.kt
build.gradle
so for now its all done and we will see more tutorials about kotlin soon...

If you have any questions regarding this tutorial and else, let me know in the comment box below.

Thanks...

Follow me on:

Comments

Post a Comment