Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kotlin: Kotlin Multiplatform #420

Open
hhstore opened this issue Mar 19, 2024 · 9 comments
Open

Kotlin: Kotlin Multiplatform #420

hhstore opened this issue Mar 19, 2024 · 9 comments

Comments

@hhstore
Copy link
Owner

hhstore commented Mar 19, 2024

📖 Abstract:

  • ✅ Kotlin Multiplatform: 新的跨平台方案, 支持 Android/iOS/macOS/windows/Linux/web 等

💯 Related:

@hhstore
Copy link
Owner Author

hhstore commented Mar 19, 2024

配置 KMP 开发环境:

brew install kdoctor

安装 sdkmanager 命令行工具:

image
open $ANDROID_HOME

cd $ANDROID_HOME

image

@hhstore
Copy link
Owner Author

hhstore commented Mar 19, 2024

@hhstore
Copy link
Owner Author

hhstore commented Mar 19, 2024

示例项目:

注意:

  • 使用 Android Studio 打开项目, 需要打开项目的目录.
  • 不要打开 monorepo 目录, 会导致无法识别 Android 构建脚本!

Android 模拟器效果:

image

@hhstore
Copy link
Owner Author

hhstore commented Mar 19, 2024

1

4 similar comments
@hhstore
Copy link
Owner Author

hhstore commented Mar 19, 2024

1

@hhstore
Copy link
Owner Author

hhstore commented Mar 19, 2024

1

@hhstore
Copy link
Owner Author

hhstore commented Mar 19, 2024

1

@hhstore
Copy link
Owner Author

hhstore commented Mar 19, 2024

1

This was referenced Mar 19, 2024
@hhstore hhstore changed the title Kotlin - Kotlin Multiplatform Kotlin: Kotlin Multiplatform Jun 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant