简体   繁体   English

Unity3d 4.3.1f + Facebook SDK 4.3.6未构建

[英]Unity3d 4.3.1f + Facebook SDK 4.3.6 doesnt build

I am trying everything I can for the last 3 days and I didnt find a way to make this version of their SDK work with the latest unity version (4.3.1). 我过去三天都在尝试所有可能的方法,但是我没有找到使此版本的SDK与最新的统一版本(4.3.1)兼容的方法。

FB SDK version 4.2.4 works fine on every Unity version I tried, but, 4.3.6 doesnt work with any of them (4.0, 4.1, 4.2 and 4.3). FB SDK版本4.2.4在我尝试的每个Unity版本上都可以正常运行,但是4.3.6不适用于其中的任何一个版本(4.0、4.1、4.2和4.3)。

Always gives me that weird message about java building: 总是给我关于Java构建的奇怪信息:

Error building Player: Win32Exception: ApplicationName='C:Program Files (x86)Javajre7binjavac.exe', CommandLine='-bootclasspath "E:/adt-bundle-windows/sdk/platforms/android-14android.jar" -d "E:Unity Projects[project name]TempStagingAreabinclasses" -source 1.6 -target 1.6 -encoding ascii "comfacebookandroidR.java" "comwinterbigbangR.java"', CurrentDirectory='E:Unity Projects[project name]TempStagingAreagen 错误构建播放器:Win32Exception:ApplicationName ='C:Program Files(x86)Javajre7binjavac.exe',CommandLine ='-bootclasspath“ E:/adt-bundle-windows/sdk/platforms/android-14android.jar” -d“ E :Unity Projects [项目名称] TempStagingAreabinclasses“-源1.6-目标1.6-编码ascii” comfacebookandroidR.java“” comwinterbigbangR.java“',CurrentDirectory ='E:Unity Projects [项目名称] TempStagingAreagen

Another weird thing, I setup my app to android 2.3.3 (API-10) why the hell it is trying to use android14? 另一个奇怪的事情是,我将我的应用设置为android 2.3.3(API-10),为什么它试图使用android14?

With the combination of Unity 4.3.1 and FB SDK 4.2.4, I finally made it work flawless, but, I think that Ill be missing some good stuff from 4.3.6... 结合Unity 4.3.1和FB SDK 4.2.4,我终于使它工作起来完美无瑕,但是,我认为Ill会缺少4.3.6中的一些好东西...

After almost a week long I think I found the problem. 经过将近一个星期的时间,我认为我发现了问题。

I uninstalled all Java from my computer and installed Java 6 32bits. 我从计算机上卸载了所有Java并安装了Java 6 32位。 Now everything works as intended. 现在一切都按预期进行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM