Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Type The container 'Android Dependencies' references non existing library android-support-v7-appcompat/bin/android-support-v7-appcompat.jar

I just got some kind of error when trying to using Action Bar Compat support library to my project, I don't know what's wrong, because I have followed the instructions from this link > http://developer.android.com/tools/support-library/setup.html

So, this is the screen shot of the error .. IDE

like image 765
Khairil Ushan Avatar asked Feb 10 '14 13:02

Khairil Ushan


6 Answers

I also encountered such problem. My error was: The container 'Android Dependencies' references non existing library 'C:\development\adt-bundle-windows-x86-20140702\workspace\appcompat_v7\bin\appcompat_v7.jar'

To solve this, I went project>properties>java build path>libraries>add jars>appcompat_v7>libs>, then I selected android-support-v7-appcompat.jar. After this, I went to project>clean. This fixed the problem. Hope you find my hint helpful.

like image 151
dazilli Avatar answered Oct 19 '22 22:10

dazilli


As in the instructions you mentioned, please make sure to follow this step to add .jar files instead of directly go to Properties > Java Build Path > Libraries to add them.

In the new library project, expand the libs/ folder, right-click each .jar file and select Build Path > Add to Build Path. For example, when creating the the v7 appcompat project, add both the android-support-v4.jar and android-support-v7-appcompat.jar files to the build path.

like image 7
Lee Chun Hoe Avatar answered Oct 19 '22 23:10

Lee Chun Hoe


I just had this issue, when creating a new project. After following the instructions from the link you provided, close your project, then close Eclipse, restart Eclipse, open your project then clean and build your project. This did the trick for me.

like image 5
kralvarado Avatar answered Oct 19 '22 21:10

kralvarado


These days I used the latest android support library 21 and got the same issue.
I followed the answer of @dazilli,but do not work.
Just now,I updated the JDK from 6 to 7,then it solved the problem.

like image 1
wangqi060934 Avatar answered Oct 19 '22 23:10

wangqi060934


First of all cleanup a library project and build project check library project has bin files after that clean your project its work for me

like image 1
Dayanand Waghmare Avatar answered Oct 19 '22 21:10

Dayanand Waghmare


  • andriod platform must be android 5.0 and set 'target=21'
  • make sure download Extrasenter image description here
like image 1
Jerry Avatar answered Oct 19 '22 22:10

Jerry