Skip to main content

I am using RevenueCat to manage my Google Play Subscription billing on my Android app. I am NOT using Amazon to make my purchases at all. However, when I start the app, I get logs that points to Amazon purchases:


Rejecting re-init on previously-failed class java.lang.Class<com.revenuecat.purchases.amazon.listener.ProductDataResponseListener>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/amazon/device/iap/PurchasingListener;

 

Caused by: java.lang.ClassNotFoundException: Didn't find class "com.amazon.device.iap.PurchasingListener" on path

 

My confusion here is that I am not using any Amazon-related purchases. In my gradle file, I just have the purchases library and that’s it. When I set the store on RevenueCat configure, I set it to Google Play Store. 

implementation("com.revenuecat.purchases:purchases:7.0.0")

Hi, are you using a physical device? If so, what kind/OS version?


Using Samsung S9 on Android 9. Though same issue occurs on multiple other samsung phones that I’ve tested, ranging from Android 9 ~ 12 ish


Thanks for that info. Just to double-check, you don’t have this extra dependency in your gradle, right?

https://www.revenuecat.com/docs/getting-started/installation/android#additional-dependencies

implementation 'com.revenuecat.purchases:purchases-store-amazon:7.0.0'

 


Reply