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.
如对本文有疑问, 点击进行留言回复!!
android RecyclerView checkbox复用解决
Android Q Input (1) -- InputManagerService启动
android -- ndk (stack corruption detected)
网友评论