Wednesday, 1 April 2015

Android 5.0 (L) Service Intent must be explicit

The problem with Google InApp Billing in android 5.0 (Lollipop) is "Service Intent must be explicit". If you want to solve this problem in android 5.0 Lollipop then follow the steps.


  1. goto "iab.util" package 
  2. Open "IabHelper.java" file 
  3. Find the below line of code.

Intent serviceIntent = new Intent("com.android.vending.billing.InAppBillingService.BIND");

now below the line add the given line

serviceIntent.setPackage("com.android.vending");

now it will work..

No comments:

Post a Comment