Jar Mismatch error Resolution
Hi Android Developers,
We generally see this error in our console, prompting us most of times when we import a new project and if it contains androidSupportv4.jar.
Found 3 versions of android-support-v4.jar in the dependency list,
but not all the versions are identical (check is based on SHA-1 only at this time).
All versions of the libraries must be the same at this time.
Versions found are:
Jar mismatch! Fix your dependencies
This error is due to different versions of androidSupportv4.jar. To resolve this we can
1. Point every use to single androidSupportv4.jar file. for ex if your project includes some library then both of them (library and your project) should contain same version of androidSupportv4.jar, else jar mismatch error occurs. So either use the same jar file kept in library for your project.
2. Keep the same version of every androidSupportv4.jar file and that to be updated version. You can find this at <android-sdk>/extras/android/support/v4/androidSupportv4.jar
*version here signifies SHA1 version of file. If that is same for all the files no error will be there.
Any other point to resolve this is requested.
1,181 total views, 1 views today