Can't add support library v7 AppCompat

17,659

Solution 1

After i re-install eclipse, android SDK all works fine with support lib v7.

Solution 2

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

First part of the solution was to download 4.2.2. Second was to check "Copy the project in your workspace", when I imported the support-library!

Solution 3

To add v7-support jar, go to build path, and add the respective jar To add missing source, go to build path - libraries. Expand your support jar. There you will see source attachment (None). click it and then click edit and add the path for the source which is i guess in the extras folder.

Share:
17,659
Ivan Podhornyi
Author by

Ivan Podhornyi

Cheerful, almost 2 meters hard skils: PL/SQL, Python, Django, Kotlin, JS, Java docker, git, jira, etc

Updated on July 22, 2022

Comments

  • Ivan Podhornyi
    Ivan Podhornyi almost 2 years

    I can't add support lib v7 appCompat. I do step-by-step like this: enter link description here (see Adding libraries with resources for Eclipse). And when i do this, i have next: enter image description here

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

    i try to remove ...extras\android\support folder from disk and download via Android SDK manager in Eclipse, but it doesn't help me.

    What i do wrong?