4

我想使用android项目PagerSliding

我已将其导入我的工作区。之后我进入我的项目属性添加一个库,然后单击应用并确定,所以我得到:

第1步

如果我在我得到的结果之后立即重新打开我的项目属性(Eclipse 似乎失去了对库的引用)。

第2步

仅供参考:我之前确实有 2 个工作区,但现在我只使用一个。

4

3 回答 3

1

我已经解决了通过删除 eclipse 并重新安装来解决问题,这似乎是以前使用 2 个工作区时的 Eclipse 错误...

根据这个问题SO Link

于 2013-05-19T11:05:48.657 回答
1

删除项目并再次导入它对我有用。

于 2014-08-01T09:48:58.130 回答
1

当我尝试更改工作区时,我遇到了同样的问题,所以这是我的解决方案:

1. import and copy all project data including library project into workspace
2. delete the old project reference by Right-click on the project-->Properties-->Android-->Library, and select corrupted library(so that waht i call it) and choose Remove
3. clean project first (to refresh ur project properties)
4. go to library project Properties-->Android-->Library and check the is library if it does'nt click Apply then OK
5. if the library project is library is already checked, first Unchecked it then Clean the library project after that do the Step 4 again
6. go to project that u want the library are in then Right-click on the project-->Properties-->Android-->Library, Add then choose the library project (it should be there) and click Apply then OK
7. if still doesn't appear clean the project once more time and that should do

谢谢

于 2014-10-08T21:58:04.977 回答