7

I can't add support lib v7 appCompat. I do step-by-step like this: enter link description here (see Adding libraries with resources for Eclipse). And when i do this, i have next: enter image description here

is ...extras\android\support\v7\appcompat\src folder must be empty?

i try to remove ...extras\android\support folder from disk and download via Android SDK manager in Eclipse, but it doesn't help me.

What i do wrong?

4

4 回答 4

1

要添加 v7-support jar,请转到构建路径,然后添加相应的 jar 要添加缺少的源,请转到构建路径 - 库。展开您的支持罐。在那里你会看到源附件(无)。单击它,然后单击编辑并添加我猜在附加文件夹中的源路径。

于 2013-11-09T16:38:54.363 回答
1

我刚刚遇到了完全相同的问题,请参阅Cannot add android.support.v7 to my project build path

解决方案的第一部分是下载 4.2.2。其次是在我导入支持库时检查“在您的工作区中复制项目”!

于 2013-12-13T09:36:24.720 回答
0

Have you included v4 Support Library? Please make sure of that. Because v7 appcompat library depends on v4 Support Library.

Follow the link for documentation,

http://developer.android.com/tools/support-library/features.html#v7-appcompat

于 2013-11-09T17:13:07.557 回答
0

在我重新安装 eclipse 后,android SDK 在支持 lib v7 上都可以正常工作。

于 2013-11-09T19:24:48.910 回答