I have successfully used the android-support-v7-appcompat library in the last few months in my application to support the action bar on older devices. I recently downloaded Android 4.4 updates (kitkat) with the system image and SDK platform from the SDK manager. I also added targetSdkVersion to "19" in the manifest file. But my project showed an error like "jar-support-v7-appcompat jar mismatch. Correct your dependencies. Then I added the jar from / extras / android / support / .... to the project as an external jar using the build path menu> add Now there is no error in the project, and the android-support-v7-appcompat.jar and android-support0v4.jar files are displayed twice in the “Linked Libraries” folder, as well as in the “libs” folder. The project does not show errors and works,but a failure in different actions.
Previously, I imported the android-support-v7-appcombat library as an external project in the workplace. I see an error in this project. Please suggest what should I do now. Also, android-support-v7-appcompat.jar umder Android dependencies in the Java build path showing an error.
I see an error:
Found 2 versions of android-support-v7-appcompat.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:
Path: C:\<project hierarchy>\libs\android-support-v7-appcompat.jar
Path: C:\Users\....\sdk\extras\android\support\v7\appcompat\libs\android-support-v7-appcompat.jar
Jar mismatch! Fix your dependencies
After receiving the idea from another forum, I deleted all the android-support-v7-appcompat support libraries from different places and imported the android-v7 support library in the project again. However, it shows an error. Should I also remove android-support-v4 libraries from build libraries and libs / private librariry / referenced libraries?
source
share