How to deploy kotlin in androidstudio?

Kotlin is a good language,more playable than Java.So how do we deploy kotlin?

First,install the kotlin plug-in in Plugins. If you are the latest AndroidStudio,you don‘t need to take this step,because this plug-in has been integrated.How to deploy kotlin in androidstudio?

Second,configure kotlin in the build.gradle of the projectHow to deploy kotlin in androidstudio?

Third,configure ‘kotlin-android‘  and ‘kotlin-android-extensions‘ in app‘s gradle.How to deploy kotlin in androidstudio?

Fourth, click SyncNow to start synchronizationHow to deploy kotlin in androidstudio?

About Anko implementation of kotlin, Android UI and configuration will be mentioned later in the article, thank you.

 

How to deploy kotlin in androidstudio?

上一篇:Springboot ,1开启配置与2.扫描包(控制层,service层)二个注解@EnableAutoConfiguration,@ComponentScan 合并成一个注解@SpringBootApplication


下一篇:HDU - 5406 CRB and Apple (费用流)