P PeterPaulGumpal Member Licensed User Sep 20, 2018 #1 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: Sep 20, 2018
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').
P PeterPaulGumpal Member Licensed User Sep 20, 2018 #2 error message updated above (from the Library, I only selected this time: FirebaseAuth & FirebaseNotifications) Upvote 0
error message updated above (from the Library, I only selected this time: FirebaseAuth & FirebaseNotifications)
Erel B4X founder Staff member Licensed User Longtime User Sep 21, 2018 #3 Follow the installation instructions, specifically regarding to B4A Sdk Manager: https://www.b4x.com/b4a.html#installation It will work. Upvote 0
Follow the installation instructions, specifically regarding to B4A Sdk Manager: https://www.b4x.com/b4a.html#installation It will work.
P PeterPaulGumpal Member Licensed User Sep 21, 2018 #4 Yes Erel, got that thanks! Fixed when I did try to install/update libraries via B4A SDK Manager. Upvote 0