由于 Facebook 库导致 Eclipse 项目错误

发布于 2024-12-12 03:18:36 字数 398 浏览 1 评论 0原文

我的 Android 项目中出现了一个奇怪的错误。我已将 Facebook 集成到我的应用程序中。而且效果很好。当我启动 Eclipse 时,Eclipse 在我的项目上显示一个错误标记,这是由于 facebook 库的双重包含所致。我只包含了 facebook API,但它在 eclipse 启动时自动包含 com_facebook_android.jar 文件。当我从我的项目中排除它时,错误就被删除了。但是当我启动 eclipse 时,它​​又自动包含在内。我还尝试从我的电脑中删除 com_facebook_android.jar 文件。它也会自动生成。我的其他集成 Facebook 的项目也是如此。

在此处输入图像描述

有什么想法吗?

I am having a strange error in my android project. I have integrated Facebook in my app. And it works nice. When I start eclipse, the eclipse show an error mark on my project which is due to dual inclusion of facebook library. I have included only the facebook API but it automatically includes com_facebook_android.jar file on eclipse startup. When I exclude this from my project, the error is removed. But when I start eclipse, it is again automatically included. I have also tried to delete com_facebook_android.jar file from my PC. It also gets generated automatically. Same is going on with my other projects having Facebook integrated.

enter image description here

Any idea ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

清晨说晚安 2024-12-19 03:18:36

删除共享源文件夹。

Delete the shared source folder.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文