Skip to content

总结你的项目

这是 使用共享逻辑和原生 UI 创建 Kotlin Multiplatform 应用 教程的最后一部分。在继续之前,请确保已完成之前的步骤。

第一步

创建你的 Kotlin Multiplatform 应用
This tutorial uses IntelliJ IDEA, but you can also follow it in Android Studio – both IDEs share the same core functionality and Kotlin Multiplatform support. This is the first part of the Create a Kotlin Multiplatform app with shared logic and native UI tutorial. Create your Kotlin Multiplatform app Update the user interface Add dependencies Share more logic Wrap up your project

第二步
更新用户界面
This tutorial uses IntelliJ IDEA, but you can also follow it in Android Studio – both IDEs share the same core functionality and Kotlin Multiplatform support. This is the second part of the Create a Kotlin Multiplatform app with shared logic and native UI tutorial. Before proceeding, make sure you've completed previous steps. Create your Kotlin Multiplatform app Update the user interface Add dependencies Share more logic Wrap up your project

第三步
添加依赖项
This tutorial uses IntelliJ IDEA, but you can also follow it in Android Studio – both IDEs share the same core functionality and Kotlin Multiplatform support. This is the third part of the Create a Kotlin Multiplatform app with shared logic and native UI tutorial. Before proceeding, make sure you've completed previous steps. Create your Kotlin Multiplatform app Update the user interface Add dependencies Share more logic Wrap up your project

第四步
共享更多逻辑
This tutorial uses IntelliJ IDEA, but you can also follow it in Android Studio – both IDEs share the same core functionality and Kotlin Multiplatform support. This is the fourth part of the Create a Kotlin Multiplatform app with shared logic and native UI tutorial. Before proceeding, make sure you've completed previous steps. Create your Kotlin Multiplatform app Update the user interface Add dependencies Share more logic Wrap up your project

第五步 总结你的项目

你已经创建了你的第一个 Kotlin Multiplatform 应用,它可在 iOS 和 Android 上运行!现在你已了解如何设置跨平台移动开发环境、如何在 IntelliJ IDEA 中创建项目、在设备上运行应用以及扩展其功能。

既然你已经获得了 Kotlin Multiplatform 的一些经验,接下来可以了解一些高级主题,并承担额外的跨平台移动开发任务:

后续步骤深入探究
教程和示例社区和反馈