
I added library project inside eclipse. But i got following error
[2012-10-09 11:25:38 - Share] Found 2 versions of android-support-v4.jar in the dependency list,
[2012-10-09 11:25:38 - Share] but not all the versions are identical (check is based on SHA-1 only at this time).
[2012-10-09 11:25:38 - Share] All versions of the libraries must be the same at this time.
[2012-10-09 11:25:38 - Share] Versions found are:
[2012-10-09 11:25:38 - Share] Path: D:\android 4 tools\work1\Share\libs\android-support-v4.jar
[2012-10-09 11:25:38 - Share] Length: 349252
[2012-10-09 11:25:38 - Share] SHA-1: 612846c9857077a039b533718f72db3bc041d389
[2012-10-09 11:25:38 - Share] Path: D:\android 4 tools\work1\Android-Feather\libs\android-support-v4.jar
[2012-10-09 11:25:38 - Share] Length: 337562
[2012-10-09 11:25:38 - Share] SHA-1: 27c24d26e4c5d57976e6926367985548678e913c
[2012-10-09 11:25:38 - Share] Jar mismatch! Fix your dependencies
Use same android-support-v4.jar library in both library and your main project.
To do this remove
android-support-v4.jarfile form both library and your main projects build path and then removeandroid-support-v4.jarfrom your libs path. Then reinsert sameandroid-support-v4.jarin both library and main project. Then useadd to build pathto add lib to your projects.This will solve your problem.
How to Add Support Lib in Project :
To add latest support lib to your android project do these steps :
Android ToolsAdd Support LibraryThen follow the screen instructions and this will add latest support library to your
libsfolder.Now right click on
android-support-v4.jarfile in libs folder and Add it to build path as I described. You will have the latest support lib in your project.UPDATE
As ‘Doctoror Drive’ said you only need to add
support libraryin yourlibrary project. So only addsupport libraryto yourlibrary project.