Build Error: Win32Exception: ApplicationName='cmd', CommandLine='/Cecho "xxx" | openssl base64', CurrentDirectory=''

Build Error: Win32Exception: ApplicationName='cmd', CommandLine='/Cecho "xxx" | openssl base64', CurrentDirectory=''

我在将项目构建到 android 时遇到此错误。

Win32Exception: ApplicationName='cmd', CommandLine='/Cecho "xxx" | openssl base64', CurrentDirectory='' System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) System.Diagnostics.Process.Start () (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start () UnityEditor.FacebookEditor.FacebookAndroidUtil.DoesCommandExist (System.String command) (at Assets/Facebook/Editor/android/FacebookAndroidUtil.cs:134) UnityEditor.FacebookEditor.FacebookAndroidUtil.get_DebugKeyHash () (at Assets/Facebook/Editor/android/FacebookAndroidUtil.cs:41) UnityEditor.FacebookEditor.FacebookAndroidUtil.IsSetupProperly () (at Assets/Facebook/Editor/android/FacebookAndroidUtil.cs:22) UnityEditor.FacebookEditor.XCodePostProcess.OnPostProcessBuild (BuildTarget target, System.String path) (at Assets/Facebook/Editor/FacebookPostprocess.cs:49) UnityEditor.HostView:OnGUI()

以下是我的应用程序的更多详细信息:

我制作了一个基本的 2d 游戏 hwo 只包含 ongui 功能我添加了 facebook sdk,google 广告 sdk,我已经从 sdk 管理器安装了所有 android sdk,我已经安装了 admob 插件vntis。但我还没有使用过 facebook sdk。我的电脑是 64 位的。

您好,您的路径似乎 不匹配 将您的路径从 C:\Windows\System32

C:\Windows\System32;C:\ProgramFiles\Java\\bin;C:\OpenSSL\bin

例子

C:\Windows\System32;C:\ProgramFiles\Java\jdk1.7.0_49\bin;C:\OpenSSL\bin