Comments (7)
Same here. Have found a solution: http://blog.android-develop.com/2014/10/android-l-api-21-javalangillegalargumen.html
from donations.
That did the trick. Thanks for this @conzorz !
from donations.
No problem. You know whereabouts to apply it? I got confused reading it and just added "if version Lollipop, ignore" for now...
from donations.
I added it in IabHelper.java, after line 267
Intent serviceIntent = new Intent("com.android.vending.billing.InAppBillingService.BIND");
serviceIntent = createExplicitFromImplicitIntent(mContext, serviceIntent);
if (!mContext.getPackageManager().queryIntentServices(serviceIntent, 0).isEmpty()) {
....
from donations.
Ah! It seems to just never work in emulator. Here's hoping...
from donations.
I am getting this error again, and it happens in non-Lollipop devices. It is impossible for me to catch it and manage the exception. Here is the stack track trace:
FATAL EXCEPTION: ControllerMessenger Process: javinator9889.bitcoinpools, PID: 8409 java.lang.IllegalStateException: IAB helper is not set up. Can't perform operation: launchPurchaseFlow at org.sufficientlysecure.donations.google.util.IabHelper.checkSetupDone(IabHelper.java:784) at org.sufficientlysecure.donations.google.util.IabHelper.launchPurchaseFlow(IabHelper.java:374) at org.sufficientlysecure.donations.DonationsFragment.donateGoogleOnClick(DonationsFragment.java:350) at org.sufficientlysecure.donations.DonationsFragment$1.onClick(DonationsFragment.java:226) at android.view.View.performClick(View.java:6256) at android.view.View$PerformClick.run(View.java:24697) at android.os.Handler.handleCallback(Handler.java:789) at android.os.Handler.dispatchMessage(Handler.java:98) at android.support.test.espresso.base.Interrogator.loopAndInterrogate(Interrogator.java:148) at android.support.test.espresso.base.UiControllerImpl.loopUntil(UiControllerImpl.java:465) at android.support.test.espresso.base.UiControllerImpl.loopUntil(UiControllerImpl.java:421) at android.support.test.espresso.base.UiControllerImpl.injectMotionEvent(UiControllerImpl.java:235) at android.support.test.espresso.action.MotionEvents.sendUp(MotionEvents.java:140) at android.support.test.espresso.action.MotionEvents.sendUp(MotionEvents.java:123) at android.support.test.espresso.action.Tap.sendSingleTap(Tap.java:170) at android.support.test.espresso.action.Tap.access$100(Tap.java:31) at android.support.test.espresso.action.Tap$1.sendTap(Tap.java:47) at android.support.test.espresso.action.GeneralClickAction.perform(GeneralClickAction.java:136) at android.support.test.espresso.ViewInteraction$SingleExecutionViewAction.perform(ViewInteraction.java:355) at android.support.test.espresso.ViewInteraction.doPerform(ViewInteraction.java:242) at android.support.test.espresso.ViewInteraction.access$100(ViewInteraction.java:62) at android.support.test.espresso.ViewInteraction$1.call(ViewInteraction.java:149) at android.support.test.espresso.ViewInteraction$1.call(ViewInteraction.java:146) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at android.os.Handler.handleCallback(Handler.java:789) at android.os.Handler.dispatchMessage(Handler.java:98) at android.os.Looper.loop(Looper.java:164) at android.app.ActivityThread.main(ActivityThread.java:6541) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
from donations.
@Javinator9889 Please open a new issue and make sure you use the latest version.
from donations.
Related Issues (20)
- .jar file HOT 1
- Add better Bitcoin support using Bitcoin Wallet API HOT 2
- Attempt to read from field 'java.lang.String org.sufficientlysecure.donations.google.util.Purchase.mItemType' on a null object reference HOT 2
- unmanaged vs managed in-app product HOT 3
- Genymotion emulator: NullPointerException on run HOT 1
- Link error when using PayPal app HOT 6
- IllegalStateException on Google Play billing when started twice HOT 9
- How is it going? HOT 1
- Google Play Warning
- Translations
- force close/ reopen app HOT 1
- Multiple clicks on donate button cause crash HOT 1
- Strip the exclamation mark from buttons
- IABHelper not setup HOT 2
- Illegal state exception HOT 3
- String resource donations__description not breaking correctly
- Can we use this library and upload the app to playstore? HOT 1
- Outdated support library & targetSdk HOT 3
- Paypal fix or way around
- Not supported by Google anymore
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from donations.