Android Question Error on use FireBaseAuth

Waldemar Lima

Well-Known Member
Licensed User
Longtime User
hello everyone !

i am trying learn about Firebase Api to B4A
but when i run application on my android , show this error :

B4X:
Logger connected to:  Xiaomi Redmi 6
--------- beginning of main
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
main_activity_create (java line: 345)
android.content.res.Resources$NotFoundException: String resource ID #0x0
    at android.content.res.Resources.getText(Resources.java:351)
    at android.content.res.MiuiResources.getText(MiuiResources.java:97)
    at android.content.res.Resources.getString(Resources.java:445)
    at anywheresoftware.b4a.objects.FirebaseAuthWrapper.Initialize(FirebaseAuthWrapper.java:66)
    at com.partygo.astro.main._activity_create(main.java:345)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:196)
    at com.partygo.astro.main.afterFirstLayout(main.java:104)
    at com.partygo.astro.main.access$000(main.java:17)
    at com.partygo.astro.main$WaitForLayout.run(main.java:82)
    at android.os.Handler.handleCallback(Handler.java:794)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:176)
    at android.app.ActivityThread.main(ActivityThread.java:6656)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)

#Libs

erro1.png

#Error Message
erro2.png

#Firebase Configuration
erro4.png

#Manifest
error3.png


how can i fix it ?
 

asales

Expert
Licensed User
Longtime User
I don't see this line in the manifest:
B4X:
CreateResourceFromFile(Macro, FirebaseAuth.FirebaseAuth)
 
Upvote 0
Top