Android Question firebase initialize issue

ShiIsMe

Member
Good day I'm having trouble running my code, when i comment the
initialize:
auth.Initialize("auth")
i got no error how to solve the issue??
here is my code
Main:
#Region  Project Attributes
    #ApplicationLabel: Campus Craze
    #VersionCode: 1
    #VersionName:
    'SupportedOrientations possible values: unspecified, landscape or portrait.
    #SupportedOrientations: portrait
    #CanInstallToExternalStorage: False
#End Region

#Region  Activity Attributes
    #FullScreen: False
    #IncludeTitle: False
#End Region

'#BridgeLogger: True

Sub Process_Globals
    Private auth As FirebaseAuth
End Sub

Sub Globals

    Private lblName As Label
End Sub

Sub Activity_Create(FirstTime As Boolean)
    Activity.LoadLayout("main")
  
    If FirstTime Then
        auth.Initialize("auth")
    End If
    If auth.CurrentUser.IsInitialized Then Auth_SignedIn(auth.CurrentUser)
End Sub

Sub Activity_Resume

End Sub

Sub Activity_Pause (UserClosed As Boolean)

End Sub

Private Sub btnSignOut_Click
    auth.SignOutFromGoogle
    lblName.Text = "Goodbye!"
End Sub

Private Sub btnSignIn_Click
    auth.SignInWithGoogle
End Sub

Sub Auth_SignedIn (User As FirebaseUser)
    Log("SignedIn: " & User.DisplayName)
    lblName.Text = "Hello: " & User.DisplayName
End Sub


Error:
** Activity (main) Pause, UserClosed = false **
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create (first time) **
main_activity_create (java line: 358)
android.content.res.Resources$NotFoundException: String resource ID #0x0
    at android.content.res.Resources.getText(Resources.java:453)
    at android.content.res.Resources.getString(Resources.java:546)
    at anywheresoftware.b4a.objects.FirebaseAuthWrapper.Initialize(FirebaseAuthWrapper.java:82)
    at b4a.campuz_craze.main._activity_create(main.java:358)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:221)
    at b4a.campuz_craze.main.afterFirstLayout(main.java:105)
    at b4a.campuz_craze.main.access$000(main.java:17)
    at b4a.campuz_craze.main$WaitForLayout.run(main.java:83)
    at android.os.Handler.handleCallback(Handler.java:942)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loopOnce(Looper.java:201)
    at android.os.Looper.loop(Looper.java:288)
    at android.app.ActivityThread.main(ActivityThread.java:8194)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:703)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:911)

i followed the instruction Erel posted but got error instead
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…