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 不匹配!修复你的依


- 如何使用WebFilter实现授权头检查 2022-01-01
- Spring Boot连接到使用仲裁器运行的MongoDB副本集 2022-01-01
- value & 是什么意思?0xff 在 Java 中做什么? 2022-01-01
- Java包名称中单词分隔符的约定是什么? 2022-01-01
- Jersey REST 客户端:发布多部分数据 2022-01-01
- Eclipse 插件更新错误日志在哪里? 2022-01-01
- Safepoint+stats 日志,输出 JDK12 中没有 vmop 操作 2022-01-01
- C++ 和 Java 进程之间的共享内存 2022-01-01
- 将log4j 1.2配置转换为log4j 2配置 2022-01-01
- 从 finally 块返回时 Java 的奇怪行为 2022-01-01