Skip to content
New issue

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

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

Already on GitHub? # to your account

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

Open
vensantai opened this issue Aug 4, 2023 · 0 comments
Open

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

vensantai opened this issue Aug 4, 2023 · 0 comments

Comments

@vensantai
Copy link

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')

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@vensantai and others