So you are attempting to code a Kotlin Multiplatform module.
After organising a construct gradle file for the Android mission with this new module, you’re led to imagine that you’ll:
Fallacious!
As of at this time, Kotlin Multiplatform isn’t in Beta but. So there have been some errors alongside the way in which. Right here’s some that I’ve discovered.
Be sure that these Purposes have full Entry to folders (or not less than the folders required by the android and iOS tasks):
Terminal, Xcode, Android Studio.
For those who haven’t created one already, one blueprint for one is:
For those who have a PodFile already, there’s a number of issues that may occur:
On this case, examine if the file exists there and it’s the appropriate path.
Additionally, examine if Android Studio has permission to entry that path.
If nothing works you may delete that line declaring the podfile on construct.gradle.kts
, run pod set up manually after you construct on android.