Firebase storage generating apk error, There was an error creating the firebase config

In my project iam using a firebaae storage component but there is an error comes while generating apk
XmlConfig] INFO: Creating strings xml
[XmlConfig] INFO: Firebase components detected, creating firebase config
[XmlConfig] ERROR: google-services.json file not found in assets directory
[XmlConfig] ERROR: There was an error creating the firebase config
[XmlConfig] Task errored in 0.003 seconds
.

Hi Anugrah,

You need to download the google-services.json file from Firebase and upload it into the assets.

Yes i add the json file but not working
This is my json
{
“project_info”: {
“project_number”: “1047123567800”,
“firebase_url”: “https://example-one.firebaseio.com”,
“project_id”: “example1234”,
“storage_bucket”: “example-one.appspot.com
},
“client”: [
{
“client_info”: {
“mobilesdk_app_id”: “1:1047998442300:android:996ef3e6fd7273896d0c39”,
“android_client_info”: {
“package_name”: “Com.example.oneexample”
}
},
“oauth_client”: [
{
“client_id”: “1047998442300-tce34q7ketg5k.apps.googleusercontent.com”,
“client_type”: 1,
“android_info”: {
“package_name”: “Com.example.exampleone”,
“certificate_hash”: “b6d230050ff479932198bacf861a52d8d0f6a984”
}
},
{
“client_id”: “1047998442300-851vr2prc02.apps.googleusercontent.com”,
“client_type”: 3
}
],
“api_key”: [
{
“current_key”: “AIzaSybnsbsbdbdbdbdnsnsnddbsbsnnsndndbbd”
}
],
“services”: {
“appinvite_service”: {
“other_platform_oauth_client”: [
{
“client_id”: “1047998442300-851vboophsgrrcb9c02.apps.googleusercontent.com”,
“client_type”: 3
}
]
}
}
}
],
“configuration_version”: “1”
}

In this json i changed some details like firebase api key and url and other details for the security

Are you using the built-in component or other extension?

Iam using component

Try these tips,