hey anyone have any idea how to resolve this . See...
# coroutines
r
hey anyone have any idea how to resolve this . Seeing this when upgrading to Kotlin Coroutines 1.6.0 . i am currently using kotlin version1.6.10
Copy code
No matching variant of org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0 was found. The consumer was configured to find an API of a platform, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'store' with value 'googleplay', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
          - Variant 'commonMainMetadataElements' capability org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0:
              - Incompatible because this component declares a usage of 'kotlin-api' of a library, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'common' and the consumer needed an API of a platform, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm'
l
Can you reproduce it in a new project?