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.
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.
Note: Though KMM works in Windows Machine, there are limitations.
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.