B b4a programmer Member Mar 24, 2021 #1 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
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 Mar 24, 2021 #2 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. Integrating Firebase Services Google has acquired a company named Firebase and is now offering many backend services under the Firebase umbrella. Most of them are free. Integrating the services is relatively simple. 1. Use B4A Sdk Manager tool to install all recommended items. 2. Register with Firebase and create a new... www.b4x.com Click to expand... FirebaseNotifications - Push messages / Firebase Cloud Messaging (FCM) Updated tutorial: https://www.b4x.com/android/forum/threads/b4x-firebase-push-notifications-2023.148715/ Clarification: The nice thing about FCM is that your app doesn't need to run in order to receive messages. The FirebaseMessaging receiver will be started by the OS when a new message... www.b4x.com Click to expand... Upvote 0
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. Integrating Firebase Services Google has acquired a company named Firebase and is now offering many backend services under the Firebase umbrella. Most of them are free. Integrating the services is relatively simple. 1. Use B4A Sdk Manager tool to install all recommended items. 2. Register with Firebase and create a new... www.b4x.com Click to expand... FirebaseNotifications - Push messages / Firebase Cloud Messaging (FCM) Updated tutorial: https://www.b4x.com/android/forum/threads/b4x-firebase-push-notifications-2023.148715/ Clarification: The nice thing about FCM is that your app doesn't need to run in order to receive messages. The FirebaseMessaging receiver will be started by the OS when a new message... www.b4x.com Click to expand...