Facebook SDK + SlidingMenu SDK = Jar mismatch! Fix your dependencies
Asked Answered
H

3

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.sstatic.net/9JOvg.png

Hermit answered 21/2, 2013 at 3:51 Comment(0)
S
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.

Scorpaenid answered 21/2, 2013 at 4:0 Comment(1)
@MegaBubbletea: Glad to have helped. :-)Scorpaenid
S
1

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

Screenplay answered 21/2, 2013 at 3:59 Comment(0)
T
1

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

Good Luck.

Teide answered 17/4, 2013 at 12:8 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.