如何使用Kotlin在Android Studio中创建项目?

众所周知, Kotlin插件与以上版本的Android Studio捆绑在一起3.0, 我们可以使用Kotlin语言而不是Java来构建android应用程序。

以下是使用Kotlin编程语言创建新项目的步骤。

第1步:在“欢迎来到Android Studio”界面中,选择“启动一个新的Android Studio项目”。

如何使用Kotlin在Android Studio中创建项目1

第2步:选择Empty Activity并单击Next按钮。

如何使用Kotlin在Android Studio中创建项目2

第三步:在这里,我们编写应用程序的名称,并为项目选择语言Kotlin。然后,单击Finish按钮启动项目。

如何使用Kotlin在Android Studio中创建项目3

步骤4:最后, 我们新创建的项目打开, 其中包含不同数量的文件。

如何使用Kotlin在Android Studio中创建项目4

来源:

https://www.srcmini02.com/68534.html

微信公众号
手机浏览(小程序)

Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_39821.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?