eclipse 容器“Android 依赖项”引用了不存在的库 appcompat_v7.jar'
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/26595692/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
The container 'Android Dependencies' references non existing library appcompat_v7.jar'
提问by Zain ul abdeen
I know this question has been asked many times but unfortunately could'nt find any solution. So here it is
我知道这个问题已被问过很多次,但不幸的是找不到任何解决方案。所以这里是
The container 'Android Dependencies' references non existing library 'C:\Users\Zain-ul-abdeen\Android\appcompat_v7\bin\appcompat_v7.jar' OnClick Build path Build Path Problem
Clean and built my project many times
多次清理和构建我的项目
回答by Hans
You have to do the next thing: go to File>Import>Android>Excisting Android code into workspaceclick on next. Then you have to chose browseand go to the place where your sdkfolder is located. Next you have to select the folders extras>android>support>v7then you wil see a folder named appcompatyou have to select this folder and click okand after that finish.
你必须做下一件事情:转到File>Import>Android>Excisting Android code into workspace点击next。然后您必须选择浏览并转到您的sdk文件夹所在的位置。接下来,您必须选择文件夹extras>android>support>v7然后您将看到一个名为appcompat的文件夹,您必须选择此文件夹并单击确定,然后完成。
When this folder is imported right click on your current project folder in Eclipse select properties. Next click on androidand you will see an addbutton. When you click on that you will see a library named android-support-v7-appcompatselect that and hit ok. This will do the job. Hope it will help you out.
导入此文件夹后,右键单击 Eclipse 中的当前项目文件夹,选择属性。接下来点击android,你会看到一个添加按钮。当你点击它时,你会看到一个名为android-support-v7-appcompat 的库,选择它并点击ok。这将完成工作。希望它能帮到你。
回答by YeHtunZ
Copy the appcompact_v7.jar to missing folder C:\Users\Zain-ul-abdeen\Android\appcompat_v7\bin\appcompat_v7.jar
将 appcompact_v7.jar 复制到丢失的文件夹 C:\Users\Zain-ul-abdeen\Android\appcompat_v7\bin\appcompat_v7.jar
1.if you don't have appcompat_v7.jar download at
Download appcompat_v7.jar
2.And Copy the appcompat_v7.jar to Missing Folder
3.Clean or Refresh your project
4.And there will show you error and hover on error
1.如果你没有appcompat_v7.jar下载在
下载appcompat_v7.jar 2.并将appcompat_v7.jar
复制到丢失的文件夹
3.
清理或刷新你的项目4.并且会显示你的错误并将鼠标悬停在错误上
and Then Fix your Project Set up
然后修复您的项目设置