問(wèn)題描述
所以我已將 Facebook SDK 和 SlidingMenu SDK 添加到我的 Android 項(xiàng)目中,但是我遇到了那些令人討厭的Jar mismatch"錯(cuò)誤.
So I have added the Facebook SDK and the SlidingMenu SDK into my Android project, however I am getting those nasty "Jar mismatch" errors.
我已經(jīng)從 libs 文件夾中刪除了 android-support-v4.jar
文件,但錯(cuò)誤仍然存??在.
I have already removed the android-support-v4.jar
file from my libs folder, yet the error persists.
關(guān)于如何解決這個(gè)問(wèn)題的任何想法?(我也嘗試從文件夾中刪除文件,但出現(xiàn)找不到文件"錯(cuò)誤)
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 庫(kù)中刪除 android-support-v4.jar
.然后從 Facebook SDK 的 libs 文件夾中復(fù)制 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項(xiàng)目,最后清理所有項(xiàng)目完成上述操作.
And then refresh the SlidingMenu project and finally clean all projects after doing the above.
這篇關(guān)于Facebook SDK + SlidingMenu SDK = Jar 不匹配!修復(fù)你的依賴的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!