I want to code an app which sends Firebase v1 messages.
Therefore i copied the B4J-sendingTool, which was available in the Tutorial and the dependencies (in addlib), but it doesn't work in B4A:
Runtime error occurs in this line:
Error message is:
Therefore i copied the B4J-sendingTool, which was available in the Tutorial and the dependencies (in addlib), but it doesn't work in B4A:
Runtime error occurs in this line:
GoogleCredentials.InitializeStatic("com.google.auth.oauth2.GoogleCredentials")
Error message is:
main_gettokenvalue (java line: 451)
java.lang.ClassNotFoundException: com.google$auth$oauth2$GoogleCredentials
at anywheresoftware.b4j.object.JavaObject.getCorrectClassName(JavaObject.java:289)
at anywheresoftware.b4j.object.JavaObject.InitializeStatic(JavaObject.java:75)
at my.sender3.main._gettokenvalue(main.java:451)
at my.sender3.main$ResumableSub_Send.resume(main.java:550)
at my.sender3.main._send(main.java:525)
at my.sender3.main._button1_click(main.java:440)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:221)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:205)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:201)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:7792)
at android.widget.TextView.performClick(TextView.java:16112)
at android.view.View.performClickInternal(View.java:7769)
at android.view.View.access$3800(View.java:910)
at android.view.View$PerformClick.run(View.java:30218)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8663)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)
java.lang.ClassNotFoundException: com.google$auth$oauth2$GoogleCredentials