Jakub Sieprawski
06/06/2022, 1:51 PMorg.gradle.internal.component.AmbiguousVariantSelectionException: The consumer was configured to find an API of a component, preferably optimized for Android, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm', attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug'. However we cannot choose between the following variants of project :common:
- Configuration ':common:debugApiElements' variant android-aidl declares an API of a component, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm':
- Unmatched attributes:
- Provides attribute 'artifactType' with value 'android-aidl' but the consumer didn't ask for it
- Provides attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '7.2.1' but the consumer didn't ask for it
- Provides attribute 'com.android.build.gradle.internal.attributes.VariantAttr' with value 'debug' but the consumer didn't ask for it
Am I doing something wrong?mkrussel
06/06/2022, 1:53 PMephemient
06/06/2022, 1:53 PMUse code blocks. Don’t paste code as plain text.
Jakub Sieprawski
06/06/2022, 2:04 PMephemient
06/06/2022, 2:05 PMhfhbd
06/06/2022, 2:07 PMephemient
06/06/2022, 2:08 PMJakub Sieprawski
06/06/2022, 2:11 PMephemient
06/06/2022, 3:33 PMJakub Sieprawski
06/07/2022, 8:17 AM