Skip to main content
Question

NoClassDefFoundError crash in Crashlytics related to BillingWrapper.buildSubscriptionPurchaseParams


Forum|alt.badge.img+3

Hi everyone,

I'm encountering a crash in my React Native app that appears to be coming from the react-native-purchases package. The error is showing up in Crashlytics and looks like this:

```
BillingWrapper.buildSubscriptionPurchaseParams
java.lang.NoClassDefFoundError - com.android.billingclient.api.zzce
com.revenuecat.purchases.google
BillingWrapper.kt:885
```

My react-native-purchase version is 8.9.1

Doing some search I can see this is related to `com.android.billingclient:billing` but the module should manage this dependence I should not add it 

Thanks for the help :)

2 replies

Forum|alt.badge.img+3
  • RevenueCat Staff
  • 57 replies
  • April 4, 2025

Hi ​@ajouve, thanks for reaching out! 

This seems very similar to some reports we’ve received related to an issue in Google’s Billing client 7.1.0 and 7.1.1. See docs: https://www.revenuecat.com/docs/revenuecat-support/general-troubleshooting#seeing-crashes-like-nocorelibrarydesugaringexception-or-noclassdeffounderror-comandroidbillingclientapizzce-in-your-android-app

This issue is restricted to specific older devices in older versions of Android. Can you confirm the Android versions + devices where you’re seeing this crash?

We’ve reported this issue to Google in:

Right now, the best workaround is to enable core library desugaring as mentioned in the attached docs.

Please let us know if you need any more help with this and we would be glad to help!


Forum|alt.badge.img+3
  • Author
  • New Member
  • 1 reply
  • April 4, 2025

@toni-rico Yes looks like this is android 6, 7 and 8 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings