Loe
03/02/2023, 8:10 PMimplementation("com.google.mlkit:vision-common:17.3.0")
This is my shared
gradle
sourceSets {
val commonMain by getting {
dependencies {
// PointF3D:
implementation("com.google.mlkit:vision-common:17.3.0")
}
}
}
This is the build error Log
> Task :shared:compileKotlinIosX64 FAILED
data/pose/PoseRepo.kt:11:12 Unresolved reference: google
data/pose/classification/MathUtil.kt:11:12 Unresolved reference: PointF3D
Loe
03/02/2023, 8:17 PMklint
highlights the imported com.google.mlkit.vision.common.PointF3D
library, but the Android project compiles and runsLandry Norris
03/02/2023, 8:30 PMLoe
03/02/2023, 9:39 PMLandry Norris
03/02/2023, 9:41 PMLoe
03/02/2023, 9:51 PMimplementation("com.google.mlkit:pose-detection-common:18.0.0-beta3")
:shared:iosArm64Main: Could not resolve org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.0.
Required by:
project :shared > com.google.mlkit:pose-detection-common:18.0.0-beta3 > com.google.mlkit:acceleration:16.0.0-beta1 > androidx.work:work-multiprocess:2.7.0
project :shared > com.google.mlkit:pose-detection-common:18.0.0-beta3 > com.google.mlkit:acceleration:16.0.0-beta1 > androidx.work:work-multiprocess:2.7.0 > androidx.work:work-runtime-ktx:2.7.0
Possible solution:
- Declare repository providing the artifact, see the documentation at <https://docs.gradle.org/current/userguide/declaring_repositories.html>
Loe
03/02/2023, 9:52 PMLandry Norris
03/02/2023, 11:19 PM