[英]How do I get android-support-v7-appcompat to build?
I added the "android-support-v7-appcompat" library to my eclipse workspace according to the instructions here: https://developer.android.com/tools/support-library/setup.html#add-library , but I can't get it to build... 我根据这里的说明将“ android-support-v7-appcompat”库添加到了我的Eclipse工作区: https : //developer.android.com/tools/support-library/setup.html#add-library ,但是我可以没办法建造...
No errors are listed under the "Problems" tab. “问题”选项卡下未列出任何错误。 I have Project > Build Automatically checked.
我检查了“ 项目”>“自动生成” 。 I've tried cleaning the project, etc. But nothing is ever placed into the 'bin' folder.
我试过清理项目,等等。但是什么都没有放入“ bin”文件夹中。 It just silently fails...
它只是默默地失败了...
In my other project that reference the "android-support-v7-appcompat" project, I have the error: 在引用“ android-support-v7-appcompat”项目的其他项目中,出现错误:
The container 'Android Dependencies' references non existing library '/extras/android/support/v7/appcompat/bin/android-support-v7-appcompat.jar'
容器“ Android Dependencies”引用了不存在的库“ /extras/android/support/v7/appcompat/bin/android-support-v7-appcompat.jar”
Any ideas why the appcompat jar file isn't being built? 为什么不构建appcompat jar文件的任何想法?
您必须将android-support-v7-appcompat放置在您的工作空间中。导入之后,将其添加到eclipse并将appcompat添加到您的项目中。
删除当前版本,尝试从以下位置重新导入
\sdk\extras\android\support\v7\appcompat
Yugesh's suggestion worked for me. Yugesh的建议对我有用。 I needed to select the " Copy project into workspace " option when importing the project using the instructions here: https://developer.android.com/tools/support-library/setup.html#libs-with-res .
使用以下说明导入项目时,我需要选择“ 将项目复制到工作区 ”选项: https : //developer.android.com/tools/support-library/setup.html#libs-with-res 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.