Giter Club home page Giter Club logo

Comments (7)

conzorz avatar conzorz commented on August 22, 2024

Same here. Have found a solution: http://blog.android-develop.com/2014/10/android-l-api-21-javalangillegalargumen.html

from donations.

aeroperf avatar aeroperf commented on August 22, 2024

That did the trick. Thanks for this @conzorz !

from donations.

conzorz avatar conzorz commented on August 22, 2024

No problem. You know whereabouts to apply it? I got confused reading it and just added "if version Lollipop, ignore" for now...

from donations.

aeroperf avatar aeroperf commented on August 22, 2024

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.

conzorz avatar conzorz commented on August 22, 2024

Ah! It seems to just never work in emulator. Here's hoping...

from donations.

Javinator9889 avatar Javinator9889 commented on August 22, 2024

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.

dschuermann avatar dschuermann commented on August 22, 2024

@Javinator9889 Please open a new issue and make sure you use the latest version.

from donations.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.