7

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: https://i.stack.imgur.com/9JOvg.png

MegaBubbletea
  • 189
  • 1
  • 3
  • 10

3 Answers3

18

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.

Siddharth Lele
  • 27,623
  • 15
  • 98
  • 151
1

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

alex
  • 6,359
  • 1
  • 23
  • 21
1

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

Good Luck.

Pratik Butani
  • 60,504
  • 58
  • 273
  • 437