Dear All,
I want to update my previous application in Google play store, which is need upgrade API to 31. And from the forum, I get information to update B4a and all libraries, I have done all the step, but seems my application didn't running well
Here's the error
And this is my manifest file
this is my application b4a
anyone can help me, I am stuck in these
I want to update my previous application in Google play store, which is need upgrade API to 31. And from the forum, I get information to update B4a and all libraries, I have done all the step, but seems my application didn't running well
Here's the error
error:
Logger connected to: HMD Global Nokia G20
--------- beginning of crash
--------- beginning of main
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create (first time) **
Error occurred on line: 35 (Main)
java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process whizmate.app. Make sure to call FirebaseApp.initializeApp(Context) first.
at com.google.firebase.FirebaseApp.getInstance(FirebaseApp.java:186)
at com.google.firebase.auth.FirebaseAuth.getInstance(com.google.firebase:firebase-auth@@22.0.0:1)
at anywheresoftware.b4a.objects.FirebaseAuthWrapper.Initialize(FirebaseAuthWrapper.java:68)
at whizmate.app.main._activity_create(main.java:452)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:351)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:157)
at whizmate.app.main.afterFirstLayout(main.java:105)
at whizmate.app.main.access$000(main.java:17)
at whizmate.app.main$WaitForLayout.run(main.java:83)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7700)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:612)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:997)
** Activity (main) Resume **
And this is my manifest file
manifest:
'This code will be applied to the manifest file during compilation.
'You do not need to modify it in most cases.
'See this link for for more information: https://www.b4x.com/forum/showthread.php?p=78136
AddManifestText(
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="31"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
CreateResourceFromFile(Macro, Themes.LightTheme)
'End of default text.
AddPermission(android.permission.WRITE_EXTERNAL_STORAGE)
AddPermission(android.permission.READ_EXTERNAL_STORAGE)
AddPermission(android.permission.NFC)
AddPermission(android.permission.CAMERA)
AddPermission(android.permission.CAPTURE_AUDIO_OUTPUT)
AddPermission(android.permission.CAPTURE_SECURE_VIDEO_OUTPUT)
AddPermission(android.permission.CAPTURE_VIDEO_OUTPUT)
AddPermission(android.permission.ACCESS_NETWORK_STATE)
AddPermission(android.permission.INTERNET)
AddPermission(android.permission.WAKE_LOCK)
CreateResourceFromFile(Macro, FirebaseAuth.FirebaseAuth)
this is my application b4a
anyone can help me, I am stuck in these