- Learning Concurrency in Kotlin
- Miguel Angel Castiblanco Torres
- 155字
- 2021-08-05 10:46:46
Creating a Kotlin project
When you first open Android Studio, you will be presented with a wizard. To start, select Start a new Android Studio project,as shown in the following screenshot:

Android Studio wizard
Now you will be asked to define the properties of the project. Please make sure that the Include Kotlin support option is enabled:

Setting the properties of a new Android project with Kotlin support
The next step is to select the Android version that you are targeting. The default options are good for this step:

Selecting the target SDKs
Then, select the option to have just an empty activity, and leave its configuration as default:

Selecting an empty activity
Now you will be prompted to select the name for the class and the layout of the activity. Please write MainActivity as the name of the activity, while setting activity_main as the name of the layout:

Configuring the default activity
推薦閱讀
- 現代C++編程:從入門到實踐
- Reporting with Visual Studio and Crystal Reports
- Kubernetes實戰
- C++面向對象程序設計(微課版)
- Unity 2020 Mobile Game Development
- Python計算機視覺編程
- INSTANT CakePHP Starter
- Microsoft Azure Storage Essentials
- Java Web開發詳解
- Android項目實戰:手機安全衛士開發案例解析
- Android驅動開發權威指南
- Python入門很輕松(微課超值版)
- 零代碼實戰:企業級應用搭建與案例詳解
- TypeScript 2.x By Example
- Arduino電子設計實戰指南:零基礎篇