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?
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.
Generally you get this error when you add external library which already contains android-support-v4.jar
file.
Here you can delete this android-support-v4.jar
file from your libs folder. This will solve your problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With