Jar mismatch! Fix your dependencies for the FacebookSDK

17,669

Solution 1

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

Good Luck.

Solution 2

If there is any JAR file with same name in the libs folder of the Library and your Project, they must have the same size(same jar files).

If now just replace one of them with the other

Solution 3

The Android FacebookSDK includes its own version of android-support-v4.jar, and it's most likely the conflicting jar.

Open project preferences, select Java Build Path and remove android-support-v4.jar from the root, and things should compile well again.

Share:
17,669
Admin
Author by

Admin

Updated on June 02, 2022

Comments

  • Admin
    Admin almost 2 years

    I want to do Login with facebook. I am following this Steps.It's all working perfact. But when I am going to Create a new Android Project with Facebook Login STEP-6 into above link I got the error of the Jar mismatch.

    when I create new android application that time there is no any errors, but when add the FacebookSDK to the newly create project. that time it gives

    Jar mismatch! Fix your dependencies  |   Unknown Android Dependency Problem
    

    I tried everything to change the java compiler level but not getting.

    I tried project properties > Java compiler > In this level I do all changes of the java versions, but not success.

    any help please?

    Thank you.