问题Android应用Facebook的引用SDK [英] Problems referencing Facebook SDK in Android app

查看:124
本文介绍了问题Android应用Facebook的引用SDK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直想在我的应用程序使用FBConnect但每当我尝试引用了SDK,它并没有完全做到这一点。
这是截图

I have been trying to use FBConnect in my app but whenever I try to reference the SDK, it doesn't quite do it. This is the screenshot

请帮忙。我坚持过去的4小时。没有对谷歌找到,或在这里SO

Please help. I am stuck for past 4 hours. Nothing found on google or here on SO

推荐答案

澄清:单击添加后,您会看到FacebookSDK。直到您关闭属性对话框它显示为有效。然后,当你再次打开该对话框,它旁边有一个红色的X。

Clarification: when you click add, you see "FacebookSDK". It shows as valid until you close the properties dialog. Then when you open the dialog again, it has a red X next to it.

如果这是发生了什么事给你......我很久以前遇到了同样的事情。 Facebook的SDK需要在作为您的项目相同的父文件夹。

If that is what is happening to you... I ran into the same thing a long time ago. The facebook sdk needs to be in the same parent folder as your project.

例如,如果运行了的C:\\用户\\我\\工作区\\我酷的项目,
Facebook的SDK需要在C:\\用户\\我\\工作区\\ Facebook的Andr​​oid的SKD-2.0.2.b

For example, if you are running out of c:\users\me\workspace\my cool project, the facebook sdk needs to be in c:\users\me\workspace\facebook-android-skd-2.0.2.b

不知道为什么,但在这打我的头撞在墙上了两天后,我想通了。

No idea why, but after beating my head against the wall over this for a couple of days I figured it out.

这篇关于问题Android应用Facebook的引用SDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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