I'm developing an Android app in Kotlin that needs to implement ARCore with Sceneform for land area measurement. I need clarification on the appropriate implementation structure because I'm having problems with dependency conflicts.
- What is the correct dependency tree to avoid version conflicts between ARCore and Sceneform?
- How should these dependencies be structured in a Kotlin project?
- Are there specific version combinations known to work well together?
Current build.gradle dependencies:
implementation(libs.androidx.core.ktx) {
exclude(group = "com.android.support")
}
implementation(libs.androidx.appcompat) {
exclude(group = "com.android.support")
}
implementation(libs.material) {
exclude(group = "com.android.support")
}
implementation("com.google.ar.sceneform.ux:sceneform-ux:1.17.1") {
exclude(group = "com.android.support")
}
implementation("com.google.ar.sceneform:core:1.17.1") {
exclude(group = "com.android.support")
}
implementation("com.google.ar:core:1.41.0")
implementation("androidx.core:core:1.12.0")
implementation("androidx.core:core-ktx:1.12.0")
implementation("androidx.appcompat:appcompat:1.6.1")
I tried to implement ARCore with Sceneform in my Kotlin Android project for land area measurement functionality. I implemented basic implementation with default dependencies but they don't work.