Android Question Error on use FireBaseAuth

Discussion in 'Android Questions' started by Waldemar Lima, Apr 6, 2019.

  1. Waldemar Lima

    Waldemar Lima Active Member Licensed User

    hello everyone !

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

    Code:
    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 ?
     
  2. asales

    asales Well-Known Member Licensed User

    I don't see this line in the manifest:
    Code:
    CreateResourceFromFile(Macro, FirebaseAuth.FirebaseAuth)
     
  3. Waldemar Lima

    Waldemar Lima Active Member Licensed User

    same error :(

    error5.png
     
  4. DonManfred

    DonManfred Expert Licensed User

    1. DO NOT POST SUCH BIG IMAGES! Post smaller ones-or no images.
    2. Post Errors as TEXT not images.
    3. Upload a sample project which shows the issue-
    4. Which version of b4a are you using?
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice