安卓的Facebook SDK V4.0不工作 [英] android facebook sdk v4.0 not working

查看:290
本文介绍了安卓的Facebook SDK V4.0不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Eclipse。 SDK管理器是最新的。如何过,当我导入Facebook的SDK来我的工作区。它会引发很多的错误。

Using Eclipse. SDK Manager is up to date. How ever when I import the facebook SDK to my workspace. It throws lots of error.

Facebook的Andr​​oid的SDK-4.0.0 \ Facebook的\水库\值\ messenger_button_styles.xml:6​​6:错误:错误:未发现的资源匹配给定名称:ATTR机器人:textAllCaps 我从值中删除它。

进口android.support解决不了我增加了支持V4 <>经营者不得低于1.7 源代码级的。如果我改变编译它给下面的错误奇巧。当我做插入推断出的类型参数它消失。 此后,它提供了螺栓库错误。然后我下载的螺栓,并导入了。如何以往这个时候螺栓给出了很多,我不能再固定。任何建议吧。

The import android.support cannot be resolved I added support v4 '<>' operator is not allowed for source level below 1.7 If i change the complier it gives kitkat below error. When I do insert inferred type arguments It goes away. Afterwards it gives bolts library error. Then I downloaded bolts and import it too. How ever this time bolts gives a lots of that I can't fixed further. Any suggestions for it.

推荐答案

在Facebook的Andr​​oid SDK中V4.0采用摇篮,因为它是构建和依赖管理系统。 <一href="http://marketplace.eclipse.org/content/gradle-integration-eclipse-44">http://marketplace.eclipse.org/content/gradle-integration-eclipse-44是可用于Eclipse。还 http://eclipse.org/m2e/ 的可用于与Facebook的行家工件结合:<一href="http://search.maven.org/#artifactdetails|com.facebook.android|facebook-android-sdk|4.0.0|">http://search.maven.org/#artifactdetails|com.facebook.android|facebook-android-sdk|4.0.0|

The Facebook Android SDK v4.0 uses Gradle as it's build and dependency management system. http://marketplace.eclipse.org/content/gradle-integration-eclipse-44 is available for Eclipse. Also http://eclipse.org/m2e/ can be used for integrating with the Facebook's maven artifact: http://search.maven.org/#artifactdetails|com.facebook.android|facebook-android-sdk|4.0.0|

在Android:如果你瞄准一个版本小于API 15。这不会在摇篮造成的构建问题,而皮棉警告pssed,因为它是在API的版本和LT忽略燮$ P $出现textAllCaps问题; 15。

The android:textAllCaps issue occurs if you're targeting a version smaller than API 15. This doesn't cause a build issue in Gradle, and the lint warning is suppressed as it's ignored in API versions < 15.

这篇关于安卓的Facebook SDK V4.0不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆