Skip to content

Generation of the Firebase Android resource file google-services.xml from Assets/Firebase/GoogleService-Info.plist failed. #892

@Nicokkam

Description

@Nicokkam

[REQUIRED] Please fill in the following fields:

  • Unity editor version: _____2020.1.0f1
  • Firebase Unity SDK version: _____ latest .unitypackage (don't know where to see the version)
  • Source you installed the SDK: _____ latest .unitypackage (don't know where to see the version)
  • Problematic Firebase Component: _____ Android Resource File Database URL
  • Other Firebase Components in use: _____ Auth and Analytics
  • Additional SDKs you are using: _____ None
  • Platform you are using the Unity editor on: _____ Mac
  • Platform you are targeting: _____ iOS and Android
  • Scripting Runtime: _____ .NET 4x deactivates changing scripting runtime

[REQUIRED] Please describe the issue here:

Got the following error:

Generation of the Firebase Android resource file google-services.xml from Assets/Firebase/GoogleService-Info.plist failed.
If you have not included a valid Firebase Android resources in your app it will fail to initialize.

Could not find key in plist file: [DATABASE_URL]

Followed every step of the link bellow and it didn't work! Maybe It's because I own a Mac. I'm desperate for help!!
#540

UnityEngine.Debug:LogError(Object)
Firebase.Editor.GenerateXmlFromGoogleServicesJson:RunResourceGenerator(IEnumerable`1, String, Boolean) (at Z:/tmp/tmp.DPw5MV1I7c/firebase/app/client/unity/editor/src/GenerateXmlFromGoogleServicesJson.cs:542)
Firebase.Editor.GenerateXmlFromGoogleServicesJson:ReadBundleIds(String) (at Z:/tmp/tmp.DPw5MV1I7c/firebase/app/client/unity/editor/src/GenerateXmlFromGoogleServicesJson.cs:407)
Firebase.Editor.GenerateXmlFromGoogleServicesJson:UpdateConfigFileDirectory() (at Z:/tmp/tmp.DPw5MV1I7c/firebase/app/client/unity/editor/src/GenerateXmlFromGoogleServicesJson.cs:295)
Firebase.Editor.GenerateXmlFromGoogleServicesJson:CheckConfiguration() (at Z:/tmp/tmp.DPw5MV1I7c/firebase/app/client/unity/editor/src/GenerateXmlFromGoogleServicesJson.cs:246)
Firebase.Editor.GenerateXmlFromGoogleServicesJson:m__1() (at Z:/tmp/tmp.DPw5MV1I7c/firebase/app/client/unity/editor/src/GenerateXmlFromGoogleServicesJson.cs:103)
Google.c__AnonStorey0:<>m__0()
Google.RunOnMainThread:ExecutePollingJobs()
Google.RunOnMainThread:m__1()
Google.RunOnMainThread:RunAction(Action)
Google.RunOnMainThread:ExecuteAllUnnested(Boolean)
Google.RunOnMainThread:ExecuteAll()
UnityEditor.EditorApplication:Internal_CallUpdateFunctions() (at /Users/builduser/buildslave/unity/build/Editor/Mono/EditorApplication.cs:332)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions