Android Question Multiple errors/missing file integrating Firebase Services

PeterPaulGumpal

Member
Licensed User
Hello everyone, I'm trying to use Firebase services but is still unsuccessful. Followed instruction from Erel from this post:

https://www.b4x.com/android/forum/threads/integrating-firebase-services.67692/

, and then add all Firebase services from the Library pane.

Here's my manifest:

AddManifestText(
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="26"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)

SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
'End of default text.
CreateResourceFromFile("google-services", "google-services.json")
CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase)
CreateResourceFromFile(Macro, FirebaseAnalytics.Firebase)
CreateResourceFromFile(Macro, FirebaseNotifications.FirebaseNotifications)
CreateResourceFromFile(Macro, FirebaseAnalytics.FirebaseAnalytics)
CreateResourceFromFile(Macro, FirebaseAdMob.FirebaseAds)
CreateResourceFromFile(Macro, FirebaseAuth.FirebaseAuth)


Compile is not successful, due to these missing files:

B4A Version: 8.00
Parsing code. (0.02s)
Compiling code. (1.41s)
Compiling layouts code. (0.02s)
Organizing libraries. (0.00s)
Generating R file. Error
AndroidManifest.xml:120: error: Error: No resource found that matches the given name (at 'theme' with value '@style/Theme.IAPTheme').
 
Last edited:
Top