-
Notifications
You must be signed in to change notification settings - Fork 47
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
Crash on Release Build v4.0.0 && v.4.1.0 java.lang.NoSuchMethodError: No static method startTimedMetric
#527
Comments
Hi @jayjah According to our documentation, you should replace
Can you try removing the line Also, since this is only occurring in release builds, it seems like there might be a minification issue too. Can you provide any further details on your release build setup? Are you using proguard/dexguard? If the above fix doesn't work, try adding the following to your proguard config:
|
Hi @sidhant-stripe, thank you for your response! Unfortunately it's not possible for us to remove Furthermore our proguard config already includes those lines. Just for clarification: |
hi @jayjah, I've checked internally and confirmed that you do not need to include the A serial number for the device, account ID and approximate date/time when you encountered this issue would also be helpful if you can provide them. |
@sidhant-stripe Unfortunately the same error occurs when I remove Sure, here are all information you asked for: Device ID: 89033023427100000000027390897104 I'll provide the account ID as soon as I got it from my co-worker. |
@sidhant-stripe Unfortunately the same error happened with version 4.1.0 and Current stripe dependencies looks like the following:
|
java.lang.NoSuchMethodError: No static method startTimedMetric
java.lang.NoSuchMethodError: No static method startTimedMetric
Summary
A crash is happening during a payment process only in release builds. This happens when TapToPay with v.4.0.0 is chosen.
Following stacktrace is visible:
Code to reproduce
Android version
Android 14
Impacted devices
Google Pixel 7a
Dependency Versions
The text was updated successfully, but these errors were encountered: