Malfunctioning Jar! sherlock toolbar and facebook sdk
im write an app that uses sherlock and bar. So I imported these two libraries into my project and I get also errors saying that I have two support jars android-v4.jar
"Found 2 versions of android-support-v4.jar in the list of dependencies but not all versions are identical (checking is based on SHA-1 only). Currently, all versions of libraries should be the same.
What can I do? can i put one of the jars in another library? they should be identical, but their sizes are different. Don't want to go and change / remove libraries in sourcode. any ideas?
source to share
The Jar inconsistency issue occurs due to the presence in version 2 of versions android-support-v4.jar
one of them is included in the library Facebook SDK
and the other in the library ActionBarSherlock
.
The fix for this problem is to remove android-support-v4.jar
from one of these two libraries and copy the other android-support-v4.jar
instead of the deleted one, this way you can be sure that you have the same version of the jar file in both libraries and you will get a build error.
source to share