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

Android build error with fresh project and latest version 7.1.0 #81

Closed
andre-sonect opened this issue Jul 23, 2021 · 2 comments
Closed

Comments

@andre-sonect
Copy link

andre-sonect commented Jul 23, 2021

With a fresh project from Android Studio and the following build.gradle I get this when building the app.

> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Failed to transform client-7.1.0.jar (com.github.hyperledger.iroha-java:client:7.1.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-incremental-transform=true, dexing-is-debuggable=true, dexing-min-sdk=21, 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:debugRuntimeClasspath'.
         > No variants of io.grpc:protoc-gen-grpc-java:1.33.1 match the consumer attributes:
             - io.grpc:protoc-gen-grpc-java:1.33.1:
                 - Incompatible because this component declares attribute 'artifactType' with value 'pom' and the consumer needed 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 dexing-enable-desugaring (required 'true')
                     - Doesn't say anything about dexing-incremental-transform (required 'true')
                     - Doesn't say anything about dexing-is-debuggable (required 'true')
                     - Doesn't say anything about dexing-min-sdk (required '21')

Thanks for any help

@andre-sonect andre-sonect changed the title Build error with fresh project and latest version 7.1.0 Android build error with fresh project and latest version 7.1.0 Jul 23, 2021
@andre-sonect andre-sonect reopened this Jul 23, 2021
@andre-sonect
Copy link
Author

Any ideas?

@andre-sonect
Copy link
Author

Building fine on version 6.1.0. Not sure what happened on 6.2.0.

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

No branches or pull requests

1 participant