Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does KMM works in Android Studio - Windows Version

I need to build an app for both iOS and Android.
I am getting this error after restarting Android Studio.

Kotlin Multiplatform Mobile plugin issue
Kotlin Multiplatform Mobile plugin is supposed to work on macOS only

I am using a windows machine.
Please tell me, if there is any solution to this problem.

like image 354
Muath Nassar Avatar asked Oct 20 '25 13:10

Muath Nassar


1 Answers

KMM works in Windows.
There is an incorrect warning shown in Android Studio for the plugin stating "KMM Plugin is only available on macOS", which is probably the reason for the confusion.

Plugin Error

Note: Though KMM works in Windows Machine, there are limitations.

  • Using a Windows machine, you can only write Android and shared module code (Java & Kotlin).
  • Creating and running iOS simulators are NOT possible.

These are limitations from Apple rather than from KMM.
They are applicable for most of the cross-platform technologies like KMM, Flutter, etc.

Refer to this thread for more info.

like image 111
Abhimanyu Avatar answered Oct 22 '25 02:10

Abhimanyu



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!