- 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++ Builder 6.0下OpenGL編程技術
- Visual C++串口通信技術詳解(第2版)
- 假如C語言是我發明的:講給孩子聽的大師編程課
- 小程序,巧運營:微信小程序運營招式大全
- Python貝葉斯分析(第2版)
- Apex Design Patterns
- Mastering Data Mining with Python:Find patterns hidden in your data
- R用戶Python學習指南:數據科學方法
- UNIX Linux程序設計教程
- Elasticsearch Essentials
- Building Slack Bots
- Web前端測試與集成:Jasmine/Selenium/Protractor/Jenkins的最佳實踐
- 例說FPGA:可直接用于工程項目的第一手經驗
- Java程序設計
- C#程序設計基礎與實踐