Jar mismatch! Fix your dependencies for the FacebookSDK
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.
Admin
Updated on June 02, 2022Comments
-
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 theJar 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 givesJar 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.