Google announced at this year's I/O developers conference that the Kotlin language should be used as the first-level programming language of Android development. Kotlin is developed by JetBrains, interoperable with Java 100%, and has many new features that Java does not yet support. So you know what Kotlin is? If you do not know that then hurriedly own Baidu.
about Android Studio 3.0 after the integration of Kotlin, the current 2.3 using Kotlin and 3.0 will be different, basically no difference.
Next, we create the Kotlin project step-by-step, using the Android Studio 2.3.1
first you need to integrate Kotlin Plug-ins
after installing the plug-in, you will be prompted to reboot.
After you restart Studio, you can use the ...
Check to see if there are any kotlin activity, which means the installation was successful ...
below we will create the Kotlin project:
as we created the project before ...
Please review the creation details:
Now click to run, the program will flash back .... Flash back project appears configure, configuration Configure as follows:
Click Conidgure
Click OK
several lines of code in the diagram are shown in the Gradle file
introduced the Kotlin plug-in
click: Syns now Sync is complete and it's all right again.
By This, your studio has successfully configured the Kotlin and successfully ran the first Hello world.