Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't add support library v7 AppCompat

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?

like image 603
Ivan Podhornyi Avatar asked Nov 09 '13 15:11

Ivan Podhornyi


2 Answers

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.

like image 53
Rahul Gupta Avatar answered Oct 20 '22 23:10

Rahul Gupta


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!

like image 38
irmdaen Avatar answered Oct 20 '22 23:10

irmdaen