Move the base from one account to another

-1

I have 2 accounts with firebase projects. I need to transfer the project made from one database to another without losing user data. The application is made on Unity and when I import google-service.json I get an error

Unable to find command line tool %PATH%/Assets\..\Assets\Firebase\Editor\generate_xml_from_google_services_json.exe required for Firebase Android resource generation.
%PATH%/Assets\..\Assets\Firebase\Editor\generate_xml_from_google_services_json.exe is required to generate the Firebase Android resource file google-services.xml from Assets/google-services.json. Without Firebase Android resources, your app will fail to initialize.
%PATH%/Assets\..\Assets\Firebase\Editor\generate_xml_from_google_services_json.exe was distributed with each Firebase Unity SDK plugin, was it deleted?

System.ComponentModel.Win32Exception (0x80004005): ApplicationName='%PATH%/Assets\..\Assets\Firebase\Editor\generate_xml_from_google_services_json.exe', CommandLine='-i "Assets/google-services.json" -l', CurrentDirectory='%PATH%', Native error= Не удается найти указанный файл.

  at System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) [0x002dc] in <3acaa45225a54f778710ee6eff26f77f>:0 
  at System.Diagnostics.Process.Start () [0x0003a] in <3acaa45225a54f778710ee6eff26f77f>:0 
  at (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
  at GooglePlayServices.CommandLine.RunViaShell (System.String toolPath, System.String arguments, System.String workingDirectory, System.Collections.Generic.Dictionary`2[TKey,TValue] envVars, GooglePlayServices.CommandLine+IOHandler ioHandler, System.Boolean useShellExecution, System.Boolean stdoutRedirectionInShellMode) [0x00242] in Z:\tmp\tmp.nGQUZiW4he\third_party\unity\unity_jar_resolver\source\PlayServicesResolver\src\CommandLine.cs:600 
  at GooglePlayServices.CommandLine.Run (System.String toolPath, System.String arguments, System.String workingDirectory, System.Collections.Generic.Dictionary`2[TKey,TValue] envVars, GooglePlayServices.CommandLine+IOHandler ioHandler) [0x00000] in Z:\tmp\tmp.nGQUZiW4he\third_party\unity\unity_jar_resolver\source\PlayServicesResolver\src\CommandLine.cs:510 
  at Firebase.Editor.GenerateXmlFromGoogleServicesJson.RunResourceGenerator (System.String arguments, System.String inputPath, System.Boolean showCommandLine) [0x0009a] in Z:\tmp\tmp.CeTbzghE2x\firebase\app\client\unity\editor\src\GenerateXmlFromGoogleServicesJson.cs:494 
UnityEngine.Debug:LogError(Object)
Firebase.Editor.GenerateXmlFromGoogleServicesJson:RunResourceGenerator(String, String, Boolean) (at Z:/tmp/tmp.CeTbzghE2x/firebase/app/client/unity/editor/src/GenerateXmlFromGoogleServicesJson.cs:496)
Firebase.Editor.GenerateXmlFromGoogleServicesJson:ReadBundleIds(String) (at Z:/tmp/tmp.CeTbzghE2x/firebase/app/client/unity/editor/src/GenerateXmlFromGoogleServicesJson.cs:369)
Firebase.Editor.GenerateXmlFromGoogleServicesJson:UpdateConfigFileDirectory() (at Z:/tmp/tmp.CeTbzghE2x/firebase/app/client/unity/editor/src/GenerateXmlFromGoogleServicesJson.cs:261)
Firebase.Editor.GenerateXmlFromGoogleServicesJson:CheckConfiguration() (at Z:/tmp/tmp.CeTbzghE2x/firebase/app/client/unity/editor/src/GenerateXmlFromGoogleServicesJson.cs:223)
Firebase.Editor.GenerateXmlFromGoogleServicesJson:.cctor() (at Z:/tmp/tmp.CeTbzghE2x/firebase/app/client/unity/editor/src/GenerateXmlFromGoogleServicesJson.cs:83)
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes()
c#
firebase
unity3d
asked on Stack Overflow Jan 24, 2019 by Tropik • edited Jan 24, 2019 by Sanpas

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0