Found 2 versions of android-support-v4.jar in the dependency list appcompat in android

John R picture John R · Jan 30, 2014 · Viewed 20.3k times · Source

When I add appcompat project as a library I get these errors:

- found 2 versions of android-support-v4.jar in the dependency list appcompat in  android. 

- `aapt.exe` has stop working.

How to solve this?

Answer

John R picture John R · Feb 6, 2014

Delete android-support-v4.jar from library and project. Then go in <sdk>/extras/android/support/samples/Support4Demos/ and copy android-support-v4.jar and paste in libs folder of both.