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] [Crash] [v2.6.16] Unable to get provider com.klarna.mobile.KlarnaShareFileProvider: java.lang.ClassNotFoundException #239

Open
ShimaZN opened this issue May 6, 2024 · 4 comments

Comments

@ShimaZN
Copy link

ShimaZN commented May 6, 2024

Hello,

After updating the Klarna SDK from version 2.6.14 to 2.6.16, we've encountered a new crash issue on Android 10 devices in our app.

Stack Trace:
Screenshot 2024-05-06 at 15 31 44

Could you pleas help me with this issue?
Thanks

@MasoudFallahpourbaee
Copy link

Hi @ShimaZN. Thanks for reporting the issue. We will investigate and get back to you.

@MasoudFallahpourbaee
Copy link

Hi @ShimaZN,
Unfortunately after several tries we were not able to reproduce this issue on our end. Here are a few questions that will help us to investigate this issue further:

  • Does it only happen on Android 10?
  • Does it only happen on a device with a specific brand (like Samsung for example)?

In the meantime, here are a few things to try to see if it resolves the issue:

  • MultiDex: If you have MultiDex enabled, please make sure that you have set it up correctly.
  • Instant run: this feature in Android studio may sometimes cause ClassNotFoundException. Try to manually clean, rebuild and then run your app.

@ShimaZN
Copy link
Author

ShimaZN commented May 13, 2024

Hi @MasoudFallahpourbaee
Thank you for your response.

We've noticed errors in our Firebase dashboard for our APK in production, specifically on Android 10 devices, with a higher occurrence on Samsung and Huawei models. I've provided additional details for your reference.
Regarding MultiDex, our minSdk version is 26, so it's automatically enabled by default, and we haven't made any specific setup for it.

If you require any additional information, please feel free to ask.

Screenshot 2024-05-10 at 18 05 42 Screenshot 2024-05-10 at 18 06 03

@MasoudFallahpourbaee
Copy link

I see. Thanks for the information. Unfortunately as we cannot reproduce it on our side it's difficult to determine the root cause of the issue. We will keep an eye on this issue.

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