所以我已将 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模板网!