znat
znat

Reputation: 13474

Dependency issue with support-library-v4

I would like to import 2 existing projects as libraries in Eclipse. Both library projects depends on the support-library-v4 and have a .jar file. So when I import them I am asked to fix the dependencies. I get this error:

Jar mismatch! Fix your dependencies

How to fix that?

Upvotes: 1

Views: 4363

Answers (2)

mistaguy
mistaguy

Reputation: 133

This is a very common error that can occur if you are using the same library of different builds in two or more projects. The best way to solve this is to right click on all your projects and reinstall your android support library.

NB: Remember to use the library source files

Upvotes: 1

devmiles.com
devmiles.com

Reputation: 10014

Try this:

  1. Right click your Project Preferences of your Library.
  2. Click Java Build Path
  3. Remove the android-support-v4 jar you see in the "root"

Upvotes: 1

Related Questions