Google In-App billing, IllegalArgumentException: Service Intent must be explicit, after upgrading to Android L
2016. 8. 31. 13:21ㆍPrograming/Debugging
[Before]
bindService(new Intent("com.android.vending.billing.InAppBillingService.BIND"), mServiceConn, Context.BIND_AUTO_CREATE);
[After]
Intent intent = new Intent("com.android.vending.billing.InAppBillingService.BIND");
intent.setPackage("com.android.vending");
bindService(intent, mServiceConn, Context.BIND_AUTO_CREATE);
'Programing > Debugging' 카테고리의 다른 글
Android Plugin for Gradle Release Notes (0) | 2016.09.15 |
---|---|
Getting Gradle error “Could not reserve enough space for object heap” (0) | 2016.09.15 |
AndroidStudio - com.android.library unsupported major.minor version 52.0 (0) | 2016.05.25 |
Android SDK - SSLPeerUnverified peer not authenticated (0) | 2016.05.25 |
java.lang.InstantiationException: can't instantiate class Activity (0) | 2015.07.28 |