How to deploy kotlin in androidstudio?
程序员文章站
2022-03-23 12:49:31
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 Andro ......
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.
下一篇: CorelDRAW怎么制作条形码?