You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys, i am trying to link the library to a new sample project of KMM application, and faced this issue
Failed building KotlinMPPGradleModel
org.gradle.internal.resolve.ArtifactNotFoundException: Could not find kotlinx-datetime-0.2.1-samplessources.jar (org.jetbrains.kotlinx:kotlinx-datetime:0.2.1).
Searched in the following locations:
This is my build.gradle.kts file:
kotlin {
android()
ios()
iosSimulatorArm64()
sourceSets {
val commonMain by getting {
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.0-RC")
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.2.1")
}
}
val commonTest by getting {
dependencies {
implementation(kotlin("test-common"))
implementation(kotlin("test-annotations-common"))
}
}
val androidMain by getting
val androidTest by getting {
dependencies {
implementation(kotlin("test-junit"))
implementation("junit:junit:4.13.2")
}
}
val iosMain by getting
val iosSimulatorArm64Main by getting
val iosTest by getting
}
cocoapods {
framework {
// Configure fields required by CocoaPods.
summary = "Some description for a Kotlin/Native module"
homepage = "Link to a Kotlin/Native module homepage"
// Framework name configuration. Use this property instead of deprecated 'frameworkName'
baseName = "SharedCode"
}
}
}
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
What am I missing here? please help
The text was updated successfully, but these errors were encountered:
Hi guys, i am trying to link the library to a new sample project of KMM application, and faced this issue
This is my build.gradle.kts file:
Below is my project build.gradle.kts:
Android Studio:
M1 Mac
What am I missing here? please help
The text was updated successfully, but these errors were encountered: