Android Question Problem using Firebase notifications

I have downloaded the latest version of B4a with all the essentials from b4x.
I use Firebase notification in one of my projects, but it gives an error when compiling. This error also appears in an empty project that lacks a library.
B4X:
B4A Version: 10.70
Parsing code.    (1.09s)
    Java Version: 11
Building folders structure.    (5.53s)
Compiling code.    (1.52s)
Compiling layouts code.    (0.02s)
Organizing libraries.    (0.00s)
    (AndroidX SDK)
Compiling resources    (0.23s)
Linking resources    Error
AndroidManifest.xml:43: error: resource integer/google_play_services_version (aka com.team.dls:integer/google_play_services_version) not found.
AndroidManifest.xml:106: error: resource bool/enable_system_alarm_service_default (aka com.team.dls:bool/enable_system_alarm_service_default) not found.
AndroidManifest.xml:111: error: resource bool/enable_system_job_service_default (aka com.team.dls:bool/enable_system_job_service_default) not found.
AndroidManifest.xml:180: error: resource bool/enable_system_alarm_service_default (aka com.team.dls:bool/enable_system_alarm_service_default) not found.
AndroidManifest.xml:199: error: resource string/default_notification_channel_id (aka com.team.dls:string/default_notification_channel_id) not found.
error: failed processing manifest.

Please advise me what to do to fix this error when compiling
 

MarcoRome

Expert
Licensed User
Longtime User
Some declarations are missing in your manifest file, type:

B4X:
CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase)
CreateResourceFromFile(Macro, FirebaseAnalytics.Firebase)
CreateResourceFromFile(Macro, FirebaseNotifications.FirebaseNotifications)

Read these 2 threads carefully.


 
Upvote 0
Top