Skip to content

javax.ws.rs:javax.ws.rs-api issue #66

Open
@vensantai

Description

When I included the SDK into my project and rebuild project, it make error as below:

Execution failed for task ':app:mergeExtDexAppDebug'.

Could not resolve all files for configuration ':app:AppDebugRuntimeClasspath'.
Failed to transform twitter-api-java-sdk-2.0.3.jar (com.twitter:twitter-api-java-sdk:2.0.3) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=23, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Could not resolve all files for configuration ':app:AppDebugRuntimeClasspath'.
> No variants of javax.ws.rs:javax.ws.rs-api:2.1.1 match the consumer attributes:
- javax.ws.rs:javax.ws.rs-api:2.1.1 configuration runtime declares a component for use during runtime:
- Incompatible because this component declares a component, as well as attribute 'artifactType' with value '${packaging.type}' and the consumer needed a component, as well as attribute 'artifactType' with value 'android-classes-jar'
- Other compatible attributes:
- Doesn't say anything about asm-transformed-variant (required 'NONE')
- Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.1.0')
- Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug')
- Doesn't say anything about com.android.build.api.attributes.ProductFlavor:project (required 'Qubii_Pro')
- Doesn't say anything about dexing-enable-desugaring (required 'true')
- Doesn't say anything about dexing-enable-jacoco-instrumentation (required 'false')
- Doesn't say anything about dexing-is-debuggable (required 'true')
- Doesn't say anything about dexing-min-sdk (required '23')
- Doesn't say anything about its target Java environment (preferred optimized for Android)
- Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'androidJvm')

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions