Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jar mismatch! Fix your dependencies when using appcompat_v7 and Facebook sdk.

Tags:

android

I am using appcompat_v7 library and facebook sdk in my project and both the library have android-support-v4.jar.If I delete any of the jar the corresponding library is not working and having both jars is not allowed.

What should I do? Kindly help me out...

like image 660
KousiK Avatar asked Dec 29 '25 16:12

KousiK


2 Answers

The conflict is due to different versions of the jar.

Make sure you have the update support library from the android sdk manager

Copy android-support-v4.jar to libs of both the projects. The jar can be found @

android-sdk/extras/android/support/v4/andorid-support-v4.jar

Clean and build your project

like image 169
Raghunandan Avatar answered Dec 31 '25 04:12

Raghunandan


remove android-support-v4.jar from FACEBOOK SDK and add android-support-v4.jar as external jar facebookSDK properties -> java build path -> libraries -> add external jar (i had remove this problem like this )

like image 30
MilapTank Avatar answered Dec 31 '25 05:12

MilapTank