No interface method getBuyIntentExtraParams - billing v1.0
See original GitHub issueI would like to use the new Google play billing library com.android.billingclient:billing:1.0
But when I run:
final BillingFlowParams.Builder builder = BillingFlowParams.newBuilder()
.setSku(sku)
.setType(BillingClient.SkuType.SUBS);
int resultCode = mBillingClient.launchBillingFlow(activity, builder.build());
I’ve this issue :
Caused by: java.lang.NoSuchMethodError: No interface method getBuyIntentExtraParams(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)Landroid/os/Bundle; in class Lcom/android/vending/billing/IInAppBillingService; or its super classes (declaration of 'com.android.vending.billing.IInAppBillingService' appears in /data/app/{MY_PAKAGE_NAME}-eHTcC-Sp4zY08KZcxkl7fQ==/base.apk:classes97.dex)
BillingClientImpl.java:332
Any ideas?
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
No interface method getBuyIntentExtraParams - billing v1.0 #86
I would like to use the new Google play billing library com.android.billingclient:billing:1.0 But when I run: final BillingFlowParams.
Read more >Google Play Billing AIDL Reference - Android Developers
This method returns a RESULT_OK(0) of consumption succeeded, and appropriate response codes on failures. The getBuyIntentToReplaceSkus() method.
Read more >Delphi Interface Performance Issue - Stack Overflow
Create('Note to self: Typo in the code'); QueryPerformanceCounter(v1); // APPROACH 1: NO INTERFACE (FAST!) // for i := 0 to high(MyObject.FArr) do //...
Read more >Default interface methods - C# 8.0 draft specifications
Default interface methods enable an API author to add methods to an interface ... Instance auto-properties are not supported in interfaces, ...
Read more >Object Interfaces - Manual - PHP
Object interfaces allow you to create code which specifies which methods a class must implement, without having to define how these methods are...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok I found why. It’s not a problem with the Android build of the device. It’s because there already was an
IInAppBillingService.aidl
in our project. Once I removed it and clean the project everything is working properly.Yes, “Beta” doesn’t sound very official =)