[英]Facebook sdk, Android dependencies showing facebooksdk.jar is missing
I have downloaded facebook sdk from facebook developers site,but all the samples given in the sdk are showing the error facebooksdk.jar is missing in facebook\\bin,but I found only facebook.apk in this \\bin folder. 我已经从facebook开发者网站下载了facebook sdk,但是sdk中给出的所有示例都显示出错误错误facebooksdk.jar在facebook \\ bin中丢失了,但是我在这个\\ bin文件夹中只找到了facebook.apk。 I just like to know why I am getting this error.How can I solve this issue?
我只想知道为什么会收到此错误,如何解决此问题?
Please refer to the image which is attached below. 请参考下面的图片。 Please suggest for the solution .
请提出解决方案的建议。
I had the same problem and as I imported FacebookSDK project and all sample projects with it as described in this getting started https://developers.facebook.com/docs/android/getting-started . 我遇到了同样的问题,并按照本入门https://developers.facebook.com/docs/android/getting-started中的描述导入了FacebookSDK项目和所有示例项目。 Due to this none of the projects compiled as samples depends on facebooksdk.jar and FacebookSDK project doesn't build because of error sin other projects.
因此,所有作为样本编译的项目都不依赖facebooksdk.jar,并且由于其他项目的错误而无法构建FacebookSDK项目。 Do this:
做这个:
All errors regarding the missing library should go away. 关于丢失的库的所有错误都应该消失。
Make sure the FacebookSDK is marked as a library. 确保将FacebookSDK标记为库。 Go to its Properties |
转到其属性| Android, check is "Is Library" is checked.
在Android上,检查是否为“正在检查库”。
This somehow got unchecked when I was recovering from an Eclipse crash. 当我从Eclipse崩溃中恢复时,这一问题未经检查。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.