Júlio Cesar Bueno
04/24/2024, 9:36 AM:core
module, which depends on :libs:volley-repack
module...
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':core:compileDebugJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':core:debugCompileClasspath'.
> Could not resolve project :libs:volley-repack.
Required by:
project :core
> The consumer was configured to find a library for use during compile-time, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '8.3.2', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm'. However we cannot choose between the following variants of project :libs:volley-repack:
- projectHealthElements
- resolvedDepsElements
All of them match the consumer attributes:
- Variant 'projectHealthElements' capability android-vente-privee.libs:volley-repack:unspecified:
- Unmatched attributes:
- Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.3.2')
- Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug')
- Provides attribute 'dagp.internal.artifacts' with value 'project-health' but the consumer didn't ask for it
- Doesn't say anything about its component category (required a library)
- Doesn't say anything about its target Java environment (preferred optimized for Android)
- Doesn't say anything about its usage (required compile-time)
- Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'androidJvm')
- Variant 'resolvedDepsElements' capability android-vente-privee.libs:volley-repack:unspecified:
- Unmatched attributes:
- Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.3.2')
- Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug')
- Provides attribute 'dagp.internal.artifacts' with value 'resolved-deps' but the consumer didn't ask for it
- Doesn't say anything about its component category (required a library)
- Doesn't say anything about its target Java environment (preferred optimized for Android)
- Doesn't say anything about its usage (required compile-time)
- Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'androidJvm')
the volley build.gradle.kts is just
configurations.maybeCreate("default")
artifacts.add("default", file("bettervolley-repack-1.0.1.aar"))
sadly, I can't just remove volley from the project as a solution.... would anyone know how I can fix this taskThomas Broyer
04/24/2024, 9:51 AMJúlio Cesar Bueno
04/24/2024, 10:05 AMJúlio Cesar Bueno
04/24/2024, 12:40 PM