I've never worked with KMM (Kotlin Multiplatform Mobile) before. I just updated to the latest version of kotlin and installed KMM Plugin in android studio then restarted android studio(Using this link). Then I created a new project(using this link) but it gave me this error. I don't know what to do, I've tried clearing cache and restart and also tried creating another project but it still gives the same error.
I've built android apps in my android studio before with java and kotlin and it works perfectly. So maybe this is an error of KMM or such?
Change the offending string like this:
"src\androidMain\AndroidManifest.xml"
to
"src\\androidMain\\AndroidManifest.xml"
i.e. add another \ with each \ in the path.
This threw me off as well, since one expects a new project skeleton to just work.
Hope this sorts it out for you, this worked for me.