python was distributed with each Firebase Unity SDK plugin, was it deleted?

0

An error occurs in the environment in the next item.

  • MacBookPro 13
    • macOS High Sierra 10.13.3
  • Unity
    • 2017.3.1f1
  • Firebase
    • 4.4.3
    • 5.1.1
    • 5.2.0
  • python(pyenv)
    • 2.7.10
    • 3.6.5

Details of the error are as follows.

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

System.ComponentModel.Win32Exception (0x80004005): ApplicationName='python', CommandLine='"/Users/【user_name】/Desktop/remote_config/testapp/Assets/../Assets/Firebase/Editor/generate_xml_from_google_services_json.py" -i "Assets/Plugins/Android/Firebase/google-services.json" -l', CurrentDirectory='/Users/【user_name】/Desktop/remote_config/testapp', Native error= Cannot find the specified file
  at System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) [0x002dc] in <3649452ae23840d49bd323a708498f78>:0 
  at System.Diagnostics.Process.Start () [0x0003a] in <3649452ae23840d49bd323a708498f78>: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 <c09004d284264362a4a15b8f2ac44838>:0 
  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 <c09004d284264362a4a15b8f2ac44838>:0 
  at Firebase.Editor.GenerateXmlFromGoogleServicesJson.RunResourceGenerator (System.String arguments, System.String inputPath, System.Boolean showCommandLine) [0x0009a] in <f07167a386a34a24ba6e9f01f9c897f2>:0 
UnityEngine.Debug:LogError(Object)
Firebase.Editor.GenerateXmlFromGoogleServicesJson:RunResourceGenerator(String, String, Boolean)
Firebase.Editor.GenerateXmlFromGoogleServicesJson:ReadBundleIds(String)
Firebase.Editor.GenerateXmlFromGoogleServicesJson:UpdateConfigFileDirectory()
Firebase.Editor.GenerateXmlFromGoogleServicesJson:CheckConfiguration()
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

Is macOS High Sierra a problem?

In macOS Sierra, no error occurred.

android
python
firebase
unity3d
asked on Stack Overflow Aug 7, 2018 by gremito

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0