Unable to add AppCompat v7 support library

I cannot add support for lib v7 appCompat . I do it step by step as follows: enter the link description here (see Adding Resource Libraries for Eclipse ). And when I do this, I have the following: enter image description here

is ...extras\android\support\v7\appcompat\src folder should be empty?

I try to delete the folder ...extras\android\support from the disk and load it via the Android SDK manager in Eclipse, but it doesn’t help me.

What am I doing wrong?

+7
android eclipse android-support-library appcompat
source share
4 answers

After I close eclipse again, the Android SDK works fine with lib v7 support.

0
source share

To add a v7 support jar, go to the build path and add the appropriate jar. To add a missing source, go to the library path build. Expand your support jar. There you will see the original application (None). click it and then click "Edit" and add the path to the source, which I believe is in the "Advanced" folder.

+1
source share

I had exactly the same problem, see Unable to add android.support.v7 to my project build path .

The first part of the solution was to download 4.2.2. Secondly, I had to check "Copy project to workspace" when I imported the support library!

+1
source share

Have you included the v4 support library? Please make sure of this. Because the appcompat v7 library depends on the v4 support library.

Follow the link for documentation,

http://developer.android.com/tools/support-library/features.html#v7-appcompat

0
source share

All Articles