无法将android.support.v7添加到我的项目构建路径 [英] Cannot add android.support.v7 to my project build path
问题描述
我正在尝试将android-support-v7-appcompat添加到我的项目构建路径中:
I am trying to add android-support-v7-appcompat to my project build path:
这是我已经完成的:
右键单击在我自己的项目 - >构建路径 - >配置构建路径 - >在左侧列中选择Android,然后单击添加。我选择android-support-v7-appcompat。该名称出现在表的右侧列,左侧出现库所在的路径:C:\Program Files\adt-bundle-windows-x86-20131030\sdk\extras\android \support\v7\appcompat。在左边有一个美丽的绿色复选标记
我点击应用或确定。
然后我再次进入这个屏幕,但是尽管路径仍然位于表格的左侧,左侧有一个红十字和一个问号,其中android- support-v7-appcompat应该是。
我完全完成了 http://developer.android.com/tools/中描述的内容support-library / setup.html (标题使用资源添加库)。
Then I go to this screen again, but though the path is still on the left in the table, there is a red cross on the left and a question mark, where "android-support-v7-appcompat" should have been. I have done exactly what is described in http://developer.android.com/tools/support-library/setup.html (title "Adding libraries with resources").
有人有任何想法吗?
推荐答案
在重新打开后如何保留绿色复选标记属性窗口将您自己的项目放在同一个字母的驱动器上,位于项目android- support-v7-appcompat
the way how to preserve "green check mark" after reopen Properties window is putting your own project on the same letter drive, where is located project android-support-v7-appcompat
所以如果你位于C:\Program Files\adt-bundle-windows-x86-20131030\sdk\extras \android\support\v7\appcompat,那么你必须在驱动器C:\(例如C:\Users\User\workspace)上的某个位置移动自己的项目
so if you have it located in C:\Program Files\adt-bundle-windows-x86-20131030\sdk\extras\android\support\v7\appcompat, then you have to move your own project somewhere on drive C:\ (e.g. C:\Users\User\workspace)
这个工作对我来说
这篇关于无法将android.support.v7添加到我的项目构建路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!