简体   繁体   中英

The container Android Dependencies references non existing library /home/user/workspace/appcompat_v7/bin/appcompat_v7.jar

I am new to android and this question is asked several times in this forum. But I couldn't able to solve the problem with the answers in those post. So I am posting my problem here to get your support

I have created a new appcompat library in eclipse juno as mentioned in the below link. https://developer.android.com/tools/support-library/setup.html ( the Referenced Libraries in this new support-library has both android-support-v4.jar and android-support-v7-appcompat.jar )

then i created my first Android project HelloWorld. (the Android Private Libraries in this folder has both android-support-v4.jar and android-support-v7-appcompat.jar

When I buitd this project, it failed with the below error "the android dependencies references non existing library /home/user/workspace/appcompat_v7/bin/appcompat.jar"

In the below post it was mentioned that the appcompat library project needs to be built first, before using it as reference in other projects. The container 'Android Dependencies' references non existing library

so i built the library project. It fails with error /home/user/Developer_Share/sdk/extras/android/support/v7/appcompat/res/values-v21/styles_base.xml:49: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Title' .

could you please advise how to resolve these issues so that the project HelloWorld is built successfully.

使用minSdkVersion作为14创建一个新项目。这是不需要appcompat_v4和v7库的最低版本,这只是解决此问题的方法。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM