您可以使用Android零件的Windows与Kotlin Multiplatform Mobile(KMM)合作吗?
我想将我的一个Android项目之一启用到新的KMM,但暂时仅用于Android平台。根据这一点/a>似乎该插件仅适用于MacOS。但在下一段中感到困惑
好消息是您可以在跨平台项目上工作 即使没有Kotlin MultipLatform移动插件,Android也是如此。如果你 要使用共享代码或特定于Android的代码,您可以 在Android Studio支持的任何操作系统上工作。
我还没有计划在仍在学习的情况下运行iOS部分,现在我想要的就是准备我的项目,因此当我对iOS技能启动充满信心时,它将很容易。到目前为止,我现在还没有一个好的Mac设备,这就是为什么我现在更喜欢使用Windows Machine,这对于Android开发(例如Android Development)更可靠。
I wanted to enable one of my Android project to the new KMM but will deploy only for Android platform for the time being. According to this FAQ page it seems that the plugin works only for macOS. But was confused on the next paragraph stating
The good news is that you can work with cross-platform projects on
Android even without the Kotlin Multiplatform Mobile plugin. If you
are going to work with shared code or Android-specific code, you can
work on any operating system supported by Android Studio.
I am not planning yet to run the iOS part as I am still learning it, all I want for now is to prepare my project so when I am confident with my iOS skill starting it would be easy. I do not have a good Mac device as of now that is why I prefer to use my Windows machine for now which is more reliable for heavy stuff like Android development.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我相信我在这里有点迟了,但是对于任何寻求答案的人来说,这是解决方案:
可以在窗户上开发。
只需转到Android Studio的插件商店,然后下载Kotlin Multiplatform插件即可。
最后,从
I believe I'm a little late here, but for anyone seeking answer, here's the solution:
It is possible to develop on windows.
Just go to plugins store in android studio, and download Kotlin Multiplatform plugin.
Finally, download a template from https://kmp.jetbrains.com/, making sure you don't select iOS, and open it with android studio to start development. The documentation explains starting with KMP, and skip Xcode install and KDoctor part and begin with your first KMP Project on any OS.
我刚刚找到了正确的位置和参考,根据此文档
I just found the right place and reference and it is possible according to this documentation