Facebook SDK“修改设置"Android版Unity中的错误 [英] Facebook SDK "Edit Settings" errors in Unity for Android
问题描述
我目前正在使用Facebook SDK与Unity一起开发Android游戏.
I'm currently developing an Android game with Unity using the Facebook SDK.
我应该能够打开一个名为编辑设置"的检查器窗口,并在下拉菜单"Android Build Facebook Settings"中更改属性.
What I should be able to is open an inspector window titled "Edit Settings" and change properties in the dropdown menu "Android Build Facebook Settings".
这是怎么回事:
http://www.i.imgur.com/L9SOJZl.png
我的下拉菜单完全空白,并且控制台反复出现相同错误的垃圾邮件.
My dropdown menu is totally blank and the console is spammed with the same error repeatedly.
- 我已下载并正确安装了Facebook SDK的最新版本(非Beta版).
- Unity 4.3.4f1的最新版本
- 我已经安装了Android SDK,并且可以成功构建到设备上.
- 我已经安装了Java Runtime Environment and Development Kit.
- ^^^尝试了32位和64位
- 我的环境变量"PATH"指向JDK安装目录.
- 我已经安装了32位和64位OpenSSL,但仍然没有成功.
完整的错误代码如下.
Win32Exception:ApplicationName ='cmd',CommandLine ='/Cecho"xxx" |openssl base64',CurrentDirectory =''System.Diagnostics.Process.Start_noshell(System.Diagnostics.ProcessStartInfo startInfo,System.Diagnostics.Process进程)System.Diagnostics.Process.Start_common(System.Diagnostics.ProcessStartInfo startInfo,System.Diagnostics.Process进程)System.Diagnostics.Process.Start()(包装器远程调用检查)System.Diagnostics.Process:Start()UnityEditor.FacebookEditor.FacebookAndroidUtil.DoesCommandExist(System.String命令)(在Assets/Facebook/Editor/android/FacebookAndroidUtil.cs:134)UnityEditor.FacebookEditor.FacebookAndroidUtil.get_DebugKeyHash()(位于Assets/Facebook/Editor/android/FacebookAndroidUtil.cs:41)UnityEditor.FacebookEditor.FacebookAndroidUtil.IsSetupProperly()(在Assets/Facebook/Editor/android/FacebookAndroidUtil.cs:22)FacebookSettingsEditor.AndroidUtilGUI()(在Assets/Facebook/Editor/FacebookSettingsEditor.cs:142)FacebookSettingsEditor.OnInspectorGUI()(在Assets/Facebook/Editor/FacebookSettingsEditor.cs:42处)UnityEditor.InspectorWindow.DrawEditors(布尔isRepaintEvent,UnityEditor.Editor []编辑器,布尔eyeDropperDirty)(位于C:/BuildAgent/work/d3d49558e4d408f4/Editor/Mono/Inspector/InspectorWindow.cs:850)UnityEditor.DockArea:OnGUI()
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) FacebookSettingsEditor.AndroidUtilGUI () (at Assets/Facebook/Editor/FacebookSettingsEditor.cs:142) FacebookSettingsEditor.OnInspectorGUI () (at Assets/Facebook/Editor/FacebookSettingsEditor.cs:42) UnityEditor.InspectorWindow.DrawEditors (Boolean isRepaintEvent, UnityEditor.Editor[] editors, Boolean eyeDropperDirty) (at C:/BuildAgent/work/d3d49558e4d408f4/Editor/Mono/Inspector/InspectorWindow.cs:850) UnityEditor.DockArea:OnGUI()
有人有什么想法吗?
推荐答案
我解决了添加环境变量"C:\ Windows \ System32"的示例:
I Solved Adding in Enviroment variable "C:\Windows\System32" example:
路径= C:\ Windows \ System32; C:\ Program Files \ Java \ jdk1.7.0_51 \ bin; C:\ OpenSSL \ bin
Path = C:\Windows\System32;C:\Program Files\Java\jdk1.7.0_51\bin;C:\OpenSSL\bin
这篇关于Facebook SDK“修改设置"Android版Unity中的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!