Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems during the execution of artifactoryPublish Gradle task #660

Open
skyviolantea opened this issue Jul 15, 2022 · 0 comments
Open
Labels
question Further information is requested

Comments

@skyviolantea
Copy link

Hi,

I'm very new to Artifactory, and I would like to ask if you could help me understanding the meaning of this problem and how should I fix it:

org.gradle.internal.component.AmbiguousVariantSelectionException: The consumer was configured to find an API of a component, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'cliente' with value 'Areti', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm'. However we cannot choose between the following variants of project :app:

Configuration ':app:AretiDebugApiElements' variant android-aidl declares an API of a component, preferably optimized for Android, as well as attribute 'cliente' with value 'Areti', 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.gradle.internal.attributes.VariantAttr' with value 'AretiDebug' but the consumer didn't ask for it
- Provides a library but the consumer didn't ask for it

What does it mean?

What should I do?

Thanks a lot in advance

@skyviolantea skyviolantea added the question Further information is requested label Jul 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant