Hello all,
I get this following error when I try to initialize my In-App billing manager.
java.lang.NullPointerException
at anywheresoftware.b4a.objects.IbHelper.startSetup(IbHelper.java:269)
at anywheresoftware.b4a.inappbilling3.BillingManager3.Initialize(BillingManager3.java:44)
at com.calculator.main._activity_create(main.java:741)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:187)
at com.calculator.main.afterFirstLayout(main.java:100)
at com.calculator.main.access$100(main.java:17)
at com.calculator.main$WaitForLayout.run(main.java:78)
at android.os.Handler.handleCallback(Handler.java:605)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4340)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)
What can the problem be?
I get this following error when I try to initialize my In-App billing manager.
B4X:
bmanager.Initialize("bmanager", key)
java.lang.NullPointerException
at anywheresoftware.b4a.objects.IbHelper.startSetup(IbHelper.java:269)
at anywheresoftware.b4a.inappbilling3.BillingManager3.Initialize(BillingManager3.java:44)
at com.calculator.main._activity_create(main.java:741)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:187)
at com.calculator.main.afterFirstLayout(main.java:100)
at com.calculator.main.access$100(main.java:17)
at com.calculator.main$WaitForLayout.run(main.java:78)
at android.os.Handler.handleCallback(Handler.java:605)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4340)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)
What can the problem be?