i
This is not the latest version of this document; to access the latest version, click here.
Official Content

Android configuration file downloaded from Firebase's backend.

Scope

Platforms: Smart Devices(Android)

Description

To use Firebase Analitytics in your application, you must add a configuration file. Such configuration file may be obtained from the Firebase console. You must add it to the KB as a File under the name "google-services_json", and you must also make sure that the file is referenced from this property. GeneXus will do the rest automatically. 

For further information on the creation of the project in Firebase go to Add Firebase to Your Android Project.

Troubleshooting


No matching client found for package name

The following error occurs when compiling the Android project:

Parsing json file: ...\google-services.json
> Task :MainObjectName:processDebugResources
error: 
error: FAILURE: Build failed with an exception.
error: 
error: * What went wrong:
error: Execution failed for task ':MainObjectName:processDebugGoogleServices'.
error: > No matching client found for package name 'com.artech.kbname.mainname'

Review the google-services.json configuration file uploaded to the Knowledge Base and make sure it matches the configuration for the Android Package Name property associated with the main object.

 

FirebaseCrashlytics Failed to retrieve settings

The following error is detailed on the Android device logcat:

com.artech.kbname.mainobject E/FirebaseCrashlytics: Failed to retrieve settings from https://firebase-settings.crashlytics.com/spi/v2/platforms/android/gmp/1:ID:android:Id/settings

You may need to wait up to 24 hours to get the first analytics reports.

Runtime/Design time

This property applies only at design time.

Availability

This property is available since GeneXus 16 upgrade 2.

See Also

Analytics Provider property

Last update: June 2025 | © GeneXus. All rights reserved. GeneXus Powered by Globant