首页 > 移动平台 > 详细

How to deploy kotlin in androidstudio?

时间:2018-09-23 23:24:41      阅读:249      评论:0      收藏:0      [点我收藏+]

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.技术分享图片

Second,configure kotlin in the build.gradle of the project技术分享图片

Third,configure ‘kotlin-android‘  and ‘kotlin-android-extensions‘ in app‘s gradle.技术分享图片

Fourth, click SyncNow to start synchronization技术分享图片

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

 

How to deploy kotlin in androidstudio?

原文:https://www.cnblogs.com/sunjv/p/9693857.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!