ClassNotFoundException: com.google.android.finsky.billing.lightpurchase.PurchaseParams

I have several applications on the market, and iaps work like a charm. I am currently working on a new application.

During testing, I continue to receive the error message: java.lang.ClassNotFoundException: com.google.android.finsky.billing.lightpurchase.PurchaseParams

The application is published in the store right now. I had to change iaps code due to changes in my application on my server side. So now I just sign the modified application with the developer key, leaving the version code and calling the same thing. Thus, the application store believes that this is a published version, even if it has a different code. I have done this in all of my applications. I make regular purchases to check if it works.

The purchase goes through a fine. I get paid for the purchase and I receive an email from the market. The problem is that my application must send information to my server in onPurchaseStateChange. But this never happens. Same thing with buyResponse. I have a couple lines of code that should write information, and it is not.

When I first saw this, I tried to change the code. He began to work, and then stopped again.

I get this error all the time. This is not a failure of the application, and the purchase itself is made.

If anyone knows what is going on, let me know. Thank!

+4
source share

Source: https://habr.com/ru/post/1536005/


All Articles