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

后端 未结 7 889
孤独总比滥情好
孤独总比滥情好 2021-02-04 04:43

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 th

相关标签:
7条回答
  • 2021-02-04 05:09

    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.

    0 讨论(0)
  • 2021-02-04 05:16

    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.

    0 讨论(0)
  • 2021-02-04 05:20

    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.

    0 讨论(0)
  • 2021-02-04 05:20
    • andriod platform must be android 5.0 and set 'target=21'
    • make sure download Extrasenter image description here
    0 讨论(0)
  • 2021-02-04 05:24

    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.

    0 讨论(0)
  • 2021-02-04 05:26

    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

    0 讨论(0)
提交回复
热议问题