Facebook SDK + SlidingMenu SDK = Jar mismatch! Fix your dependencies(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 不匹配!修复你的依赖的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Facebook SDK + SlidingMenu SDK = Jar 不匹配!修复你的依
基础教程推荐
- 存储 20 位数字的数据类型 2022-01-01
- REST Web 服务返回 415 - 不支持的媒体类型 2022-01-01
- 问题http://apache.org/xml/features/xinclude测试日志4j 2 2022-01-01
- 使用堆栈算法进行括号/括号匹配 2022-01-01
- Spring AOP错误无法懒惰地为此建议构建thisJoinPoin 2022-09-13
- 无法复制:“比较方法违反了它的一般约定!" 2022-01-01
- 如何对 Java Hashmap 中的值求和 2022-01-01
- Struts2 URL 无法访问 2022-01-01
- 修改 void 函数的输入参数,然后读取 2022-01-01
- RabbitMQ:消息保持“未确认"; 2022-01-01
