generate_xml_from_google_services_json.exe file not found in Unity 2017.1f1

1,909 views
Skip to first unread message

Benjamin W.

unread,
Jun 29, 2017, 11:37:18 AM6/29/17
to Firebase Google Group
Hi,

I successfully used Firebase Database and Auth in my Unity 2017.1b10 project and just updated to Unit 2017.1f1 and when I started Unity I got the error:

Unable to find command line tool C:/2017/GitHub/AliensStraightFromHell/Assets\..\Assets\Firebase\Editor\generate_xml_from_google_services_json.exe required for Firebase Android resource generation.
C:/2017/GitHub/AliensStraightFromHell/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/Firebase/google-services.json. Without Firebase Android resources, your app will fail to initialize.
C:/2017/GitHub/AliensStraightFromHell/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: ApplicationName='C:/2017/GitHub/AliensStraightFromHell/Assets\..\Assets\Firebase\Editor\generate_xml_from_google_services_json.exe', CommandLine='-i "Assets/Firebase/google-services.json" -l', CurrentDirectory='C:\2017\GitHub\AliensStraightFromHell'
  at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>:0 
  at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>:0 
  at System.Diagnostics.Process.Start () [0x00000] in <filename unknown>: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 envVars, GooglePlayServices.IOHandler ioHandler, Boolean useShellExecution, Boolean stdoutRedirectionInShellMode) [0x00000] in <filename unknown>:0 
  at GooglePlayServices.CommandLine.Run (System.String toolPath, System.String arguments, System.String workingDirectory, System.Collections.Generic.Dictionary`2 envVars, GooglePlayServices.IOHandler ioHandler) [0x00000] in <filename unknown>:0 
  at Firebase.Editor.GenerateXmlFromGoogleServicesJson.RunResourceGenerator (System.String arguments, System.String inputPath, Boolean showCommandLine) [0x00000] in <filename unknown>:0 
UnityEngine.Debug:LogError(Object)
Firebase.Editor.GenerateXmlFromGoogleServicesJson:RunResourceGenerator(String, String, Boolean)
Firebase.Editor.GenerateXmlFromGoogleServicesJson:ReadBundleIds(String)
Firebase.Editor.GenerateXmlFromGoogleServicesJson:ReadBundleIdsFromGoogleServicesFiles()
Firebase.Editor.GenerateXmlFromGoogleServicesJson:UpdateJsonWithBundleIdChooserDialog(String)
Firebase.Editor.GenerateXmlFromGoogleServicesJson:CheckConfiguration()
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()



I have checked it and the file is there but the folder Assets\..\Assets seems to be wrong.

Is it an Unity or Firebase bug ? Or did I miss something ?


Best
Greetings


Stewart Miles

unread,
Jun 29, 2017, 11:58:48 AM6/29/17
to Firebase Google Group
The path looks right if you haven't tried moving the file in your Unity project...

C:/2017/GitHub/AliensStraightFromHell/Assets\..\Assets\Firebase\Editor\generate_xml_from_google_services_json.exe

ends up as

C:/2017/GitHub/AliensStraightFromHell\Assets\Firebase\Editor\generate_xml_from_google_services_json.exe


Is it possible the file isn't set to be executable?


Cheers,
Stewart

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/213b9dd7-fd6a-4e61-8cf1-b9983971416f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Benjamin W.

unread,
Jun 29, 2017, 12:55:12 PM6/29/17
to Firebase Google Group
OK, all-clear! :)

I restarted Windows and the error is gone. Looks like Unity needs a Windows and project restart after installation. --I hope they release a beta f2 before the official release. I also reported this bug (/ weird behavior ) to Unity Technologies.

Thanks.

Benjamin W.

unread,
Jun 29, 2017, 12:55:29 PM6/29/17
to Firebase Google Group
Read, Write, Read & Execute, Modify is allowed to Authenticated Users.
Users may Read, Read & Execute and Admins / System have Full Control.

So I guess the answer is no. :(
 
Reply all
Reply to author
Forward
0 new messages