Android Question Problem with Firebase Messaging - Missing firebasemessaging.jar after following tutorial

CristianoSimch

New Member
Hi,
I'm trying to integrate Firebase Messaging into my B4A project by following this tutorial:
https://www.b4x.com/android/forum/threads/integrating-firebase-services.67692/


However, when I try to compile, I get the following error in the manifest editor:

Error parsing manifest script:
File not found: C:\Program Files\Anywhere Software\B4A\libraries\firebasemessaging.jar

I searched for firebasemessaging.jar using the B4A SDK Manager, but I couldn’t find this library and couldn’t install it manually either.


I'm using B4A version 13.10, and my project is based on B4XPages, using B4XMainPage.


Could someone help me figure out how to fix this error or how to properly install the missing Firebase Messaging library?

"If anyone has the .b4xlib file or the .zip containing the .jar and .xml to share, I’d really appreciate it."

Thanks in advance!

error-B4A-2.PNG
 

aeric

Expert
Licensed User
Longtime User
Your Manifest Editor should look like this:
B4X:
'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="21" android:targetSdkVersion="34"/>
<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.
CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase)
CreateResourceFromFile(Macro, FirebaseAnalytics.Firebase)
CreateResourceFromFile(Macro, FirebaseAnalytics.FirebaseAnalytics)
CreateResourceFromFile(Macro, FirebaseNotifications.FirebaseNotifications)

Latest libraries:
FirebaseAnalytics v3.01
FirebaseNotifications v3.11
 
Upvote 0
Top