Facebook SDK + SlidingMenu SDK = Jar mismatch! Fix your dependencies

百般思念 提交于 2019-11-28 07:38:39

问题


So I have added the Facebook SDK and the SlidingMenu SDK into my Android project, however I am getting those nasty "Jar mismatch" errors.

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)

Image: http://i.stack.imgur.com/9JOvg.png


回答1:


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.

And then refresh the SlidingMenu project and finally clean all projects after doing the above.




回答2:


Remove the support library from both library projects and re-add it to your project.




回答3:


Try using the remove the android-support-v4.jar file from the libs folder from your project.

Good Luck.



来源:https://stackoverflow.com/questions/14994237/facebook-sdk-slidingmenu-sdk-jar-mismatch-fix-your-dependencies

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!