码迷,mamicode.com
首页 > 移动开发 > 详细

How to deploy kotlin in androidstudio?

时间:2018-09-24 00:27:49      阅读:217      评论:0      收藏:0      [点我收藏+]

标签:because   click   .com   this   bec   uil   .so   deploy   png   

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?

标签:because   click   .com   this   bec   uil   .so   deploy   png   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!