You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempts to update 'stripeterminal' SDK from version '3.2.1' to '3.3.0' or '3.3.1' and build app leads to this error:
Execution failed for task ':app:checkDebugDuplicateClasses'.
Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Failed to transform jackson-core-2.16.0.jar (com.fasterxml.jackson.core:jackson-core:2.16.0) to match attributes {artifactType=enumerated-runtime-classes, 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: /Users/USER/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-core/2.16.0/899e5cf01be55fbf094ad72b2edb0c5df99111ee/jackson-core-2.16.0.jar.
> Failed to transform '/Users/USER/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-core/2.16.0/899e5cf01be55fbf094ad72b2edb0c5df99111ee/jackson-core-2.16.0.jar' using Jetifier. Reason: IllegalArgumentException, message: Unsupported class file major version 63. (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).
Please note we tried newest version of gradle and checked conflicts with empty project
Gradle 7.3.3
Build time: 2021-12-22 12:37:54 UTC
Revision: 6f556c80f945dc54b50e0be633da6c62dbe8dc71
Kotlin: 1.5.31
Groovy: 3.0.9
Ant: Apache Ant(TM) version 1.10.11 compiled on July 10 2021
JVM: 17.0.2 (Eclipse Adoptium 17.0.2+8)
OS: Mac OS X 14.2 aarch64
Android version
Android 11
SDK version
com.stripe:stripeterminal-localmobile '3.3.0' and '3.3.1'
Other information
We tried to update/change gradle and JDK versions but it didn't solve issues.
Our investigation lead to conflict with android.enableJetifier=true from gradle.properties. Unfortunately it's not possible for us at this moment to disable Jetifier.
Only ways we could use latest SDK are:
Hi @TTRuslan , thanks for reporting this as well your mitigation.
Unfortunately we are not able to do much from the sdk's side since we moved off the earlier jackson version because it has a known vulnerability 1. The issue tracking 2 the build error you're seeing, suggests what you're doing as the work around 👍
Summary
Attempts to update 'stripeterminal' SDK from version '3.2.1' to '3.3.0' or '3.3.1' and build app leads to this error:
Code to reproduce
build.gradle (:app)
gradle.properties
Then build android app
Please note we tried newest version of gradle and checked conflicts with empty project
Android version
Android 11
SDK version
com.stripe:stripeterminal-localmobile '3.3.0' and '3.3.1'
Other information
We tried to update/change gradle and JDK versions but it didn't solve issues.
Our investigation lead to conflict with
android.enableJetifier=true
from gradle.properties. Unfortunately it's not possible for us at this moment to disable Jetifier.Only ways we could use latest SDK are:
And potentially use old version of fasterxml.jackson that you had at last version ('3.2.1')
com.fasterxml.jackson.core:jackson-databind:2.14.1
android.jetifier.ignorelist=jackson-core-2.16.0.jar
./gradlew app:dependencies for new version (core:jackson with v2.16.0)
./gradlew app:dependencies for old version (core:jackson with v2.14.1)
Question
Is there any way you can fix this issue from your side?
The text was updated successfully, but these errors were encountered: