I tried to compile the example of the Firebase RemoteConfig lib from @DonManfred and I get this error:
The SDK is up to date.
The libs was jetified.
I use my own google-services.json in the example.
My example is in attached.
I don't know what is happening and how to fix it.
Thanks in advance for any tip.
main_activity_create (java line: 354)
android.content.res.Resources$NotFoundException: Resource ID #0x2
at android.content.res.ResourcesImpl.getValue(ResourcesImpl.java:190)
at android.content.res.Resources.loadXmlResourceParser(Resources.java:2094)
at android.content.res.Resources.getXml(Resources.java:1160)
at com.google.firebase.remoteconfig.internal.DefaultsXmlParser.getDefaultsFromXml(com.google.firebase:firebase-config@@19.1.4:89)
at com.google.firebase.remoteconfig.FirebaseRemoteConfig.setDefaults(com.google.firebase:firebase-config@@19.1.4:610)
at de.donmanfred.FirebaseRemoteConfigwrapper.setDefaults3(FirebaseRemoteConfigwrapper.java:74)
at br.com.as2.testes.main._activity_create(main.java:354)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:196)
at br.com.as2.testes.main.afterFirstLayout(main.java:104)
at br.com.as2.testes.main.access$000(main.java:17)
at br.com.as2.testes.main$WaitForLayout.run(main.java:82)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6123)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
android.content.res.Resources$NotFoundException: Resource ID #0x2
at android.content.res.ResourcesImpl.getValue(ResourcesImpl.java:190)
at android.content.res.Resources.loadXmlResourceParser(Resources.java:2094)
at android.content.res.Resources.getXml(Resources.java:1160)
at com.google.firebase.remoteconfig.internal.DefaultsXmlParser.getDefaultsFromXml(com.google.firebase:firebase-config@@19.1.4:89)
at com.google.firebase.remoteconfig.FirebaseRemoteConfig.setDefaults(com.google.firebase:firebase-config@@19.1.4:610)
at de.donmanfred.FirebaseRemoteConfigwrapper.setDefaults3(FirebaseRemoteConfigwrapper.java:74)
at br.com.as2.testes.main._activity_create(main.java:354)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:196)
at br.com.as2.testes.main.afterFirstLayout(main.java:104)
at br.com.as2.testes.main.access$000(main.java:17)
at br.com.as2.testes.main$WaitForLayout.run(main.java:82)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6123)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
The libs was jetified.
I use my own google-services.json in the example.
My example is in attached.
I don't know what is happening and how to fix it.
Thanks in advance for any tip.