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

not works #85

Open
ronaldoguedess opened this issue Feb 28, 2024 · 6 comments
Open

not works #85

ronaldoguedess opened this issue Feb 28, 2024 · 6 comments

Comments

@ronaldoguedess
Copy link

FAILURE: Build completed with 3 failures.

1: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':app:mergeDebugNativeLibs'.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Failed to transform jackson-core-2.16.1.jar (com.fasterxml.jackson.core:jackson-core:2.16.1) to match attributes {artifactType=android-jni, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for JetifyTransform: C:\Users\ronaldo.gradle\caches\modules-2\files-2.1\com.fasterxml.jackson.core\jackson-core\2.16.1\9456bb3cdd0f79f91a5f730a1b1bb041a380c91f\jackson-core-2.16.1.jar.
> Failed to transform 'C:\Users\ronaldo.gradle\caches\modules-2\files-2.1\com.fasterxml.jackson.core\jackson-core\2.16.1\9456bb3cdd0f79f91a5f730a1b1bb041a380c91f\jackson-core-2.16.1.jar' using Jetifier. Reason: IllegalArgumentException, message: Unsupported class file major version 65. (Run with --stacktrace for more details.)
Suggestions:
- Check out existing issues at https://issuetracker.google.com/issues?q=componentid:460323&s=modified_time:desc, it's possible that this issue has already been filed there.
- If this issue has not been filed, please report it at https://issuetracker.google.com/issues/new?component=460323 (run with --stacktrace and provide a stack trace if possible).

@rvullriede
Copy link
Collaborator

Are you sure you're reporting this in the right repo? I don't see anything related to this lib in your error output.

@ronaldoguedess
Copy link
Author

yeah, i'm reporting because i can't use, haha
when import lib shows this error!

@rvullriede
Copy link
Collaborator

I haven't developed for Android in ages but it seems it's a simply JDK incompatibility. Can you try this branch: https://github.com/osslabz/evm-abi-decoder/tree/feature/android-compatibility ?

@ronaldoguedess
Copy link
Author

Don't you have to update the version of this lib for me update?

@rvullriede
Copy link
Collaborator

I rather prefer you validate first that the branch fixes the issue before I build a new release. You simply need to check out out and install locally (maven clean install) and have you local maven repository listed in you gradle file.

@ronaldoguedess
Copy link
Author

ronaldoguedess commented Mar 1, 2024

Sorry, I really don't know how to install it locally.

I just set it on gladle:app file:
implementation "net.osslabz:evm-abi-decoder:0.0.10"

And my build gladle is like this:

buildscript {
    repositories {
        google()
        mavenCentral()
        mavenLocal()
    }
    dependencies {
        classpath("com.android.tools.build:gradle:8.1.4")  
        classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10") 

        classpath "com.google.dagger:hilt-android-gradle-plugin:2.42"
        classpath "com.google.gms:google-services:4.4.1"
        classpath "com.google.firebase:firebase-crashlytics-gradle:2.9.9"
    }
}

how can i procced?

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

2 participants