Kotlin / kmp-production-sample

This is an open-source, mobile, cross-platform application built with Kotlin Multiplatform Mobile. It's a simple RSS reader, and you can download it from the App Store and Google Play. It's been designed to demonstrate how KMM can be used in real production projects.
https://kotlinlang.org/lp/mobile/
MIT License
2.01k stars 224 forks source link

Kotlin 1.5.31 New Project Error (M1 Mac) #42

Closed avjiang closed 2 years ago

avjiang commented 2 years ago

Hi guys, i am trying to create new KKM project from Android Studio -> KMM Plugin. So I created a KKM application and use regular framework type of distribution (not cocoapods)

However i am facing error after created the new project.

image

I am currently is using Android Studio:

Android Studio Arctic Fox | 2020.3.1 Patch 2
Build #AI-203.7717.56.2031.7678000, built on August 27, 2021
Runtime version: 11.0.10+0-b96-7249189 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 11.6
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Registry: external.system.auto.import.disabled=true
Non-Bundled Plugins: org.jetbrains.kotlin, com.jetbrains.kmm

Java version:

java version "17" 2021-09-14 LTS
Java(TM) SE Runtime Environment (build 17+35-LTS-2724)
Java HotSpot(TM) 64-Bit Server VM (build 17+35-LTS-2724, mixed mode, sharing)

Xcode 13

What am I missing here? thank you