Facebook SDK + SlidingMenu SDK = Jar 不匹配!修复你的依赖 [英] Facebook SDK + SlidingMenu SDK = Jar mismatch! Fix your dependencies

查看:21
本文介绍了Facebook SDK + SlidingMenu SDK = Jar 不匹配!修复你的依赖的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我已将 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 不匹配!修复你的依赖的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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