不能android.support.v7添加到我的项目构建路径我的、路径、项目、android

2023-09-04 09:35:35 作者:知道你有胸没必要这么凶

我想加入Android的支持-V7-appcompat我的项目构建路径:

I am trying to add android-support-v7-appcompat to my project build path:

这是我做了什么: 右键单击我自己的项目 - >构建路径 - >配置构建路径 - >选择左边栏的Andr​​oid,然后单击添加。我选择Android的支持-V7-appcompat。这名在表的右栏再出现,在左侧显示的路径所在的库位于:\机器人\ SUPPORT \ V7 \ \ Program Files文件\ ADT-束的Windows x86-20131030 \ SDK \演员:C appcompat。而且它有一个美丽的绿色对勾在左边!

This is what I have done: Right-click on my own project -> build path -> configure build path -> choose Android on the left column and then click "Add". I choose "android-support-v7-appcompat". This name appears then in the right column of the table, on the left appears the path where the library is located: C:\Program Files\adt-bundle-windows-x86-20131030\sdk\extras\android\support\v7\appcompat. And it has a beautiful green check mark on the left!

我点击应用或确定。

然后我去这个画面了,但尽管道路仍然在留在桌子上,有一个红十字会在左边,一个问号,其中Android的支持 - V7-​​appcompat应该是。 我已经做究竟是什么在 http://developer.android.com/tool​​s描述/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").

有一个人任何想法????

Has someone any idea????

推荐答案

怎样的方式preserve绿色对勾后重新打开属性窗口把自己的项目相同的字母驱动器,其中位于项目的android上 - 支持-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-束的Windows x86-20131030 \ SDK \演员\机器人\ SUPPORT \ V7 \ appcompat,那么你必须移动到某处自己的项目在驱动器C :\(如C:\用户\用户\工作区)

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)

这工作对我来说