<How to solve gradle sync while adding KMM shared ...
# stackoverflow
r
How to solve gradle sync while adding KMM shared module? I am trying to add KMM shared module on an existing Android project. I used KMM plugin on Android Studio and after adding the module I have got the below sync error. Here are the logs of the error e: /shared/build.gradle.kts68: An annotation argument must be a compile-time constant e: /shared/build.gradle.kts636: Unresolved reference: ExperimentalKotlinGradlePluginApi e: /shared/build.gradle.kts85: Unresolved reference: targetHierarchy FAILURE: Build failed with an exception. *...