所以我已将 Facebook SDK 和 SlidingMenu SDK 添加到我的 Android 项目中,但是我遇到了那些令人讨厌的Jar mismatch"错误.
So I have added the Facebook SDK and the SlidingMenu SDK into my Android project, however I am getting those nasty "Jar mismatch" errors.
我已经从 libs 文件夹中删除了 android-support-v4.jar 文件,但错误仍然存在.
I have already removed the android-support-v4.jar file from my libs folder, yet the error persists.
关于如何解决这个问题的任何想法?(我也尝试从文件夹中删除文件,但出现找不到文件"错误)
Any ideas on how to fix this? (I have also tried deleting the files from the folders, but I get the 'file not found' errors)
图片:http://i.stack.imgur.com/9JOvg.png
从 SlidingMenu 库中删除 android-support-v4.jar.然后从 Facebook SDK 的 libs 文件夹中复制 android-support-v4.jar 文件并将其粘贴到您的 SlidingMenu 的 libs 文件夹中.
Delete the android-support-v4.jar from the SlidingMenu library. And copy the android-support-v4.jar file from the Facebook SDK's libs folder and paste it in to your SlidingMenu's libs folder.
然后刷新SlidingMenu项目,最后清理所有项目完成上述操作.
And then refresh the SlidingMenu project and finally clean all projects after doing the above.
这篇关于Facebook SDK + SlidingMenu SDK = Jar 不匹配!修复你的依赖的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!
为什么在 Eclipse 的 SDK 中选择 Android API 而不是 Why would you choose Android API over Google APIs in the SDK on Eclipse?(为什么在 Eclipse 的 SDK 中选择 Android API 而不是 Google API?)
admob 6.2.1 空指针异常admob 6.2.1 nullpointer exception(admob 6.2.1 空指针异常)
eclipse 无法检测到我的手机进行试运行My phone cannot be detected in eclipse to test run(eclipse 无法检测到我的手机进行试运行)
android SDK 中缺少 platform-toolsaapt.exe 目录platform-toolsaapt.exe directory missing in android SDK(android SDK 中缺少 platform-toolsaapt.exe 目录)
导入 com.google.android.gms.* 时出错;error importing com.google.android.gms.*;(导入 com.google.android.gms.* 时出错;)
Android XML 编辑器和 Eclipse 的问题...难以手动编辑Problems with Android XML Editor and Eclipse...Hard to manually edit XML(Android XML 编辑器和 Eclipse 的问题...难以手动编辑 XML)