Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/rust/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Can';不要在我的项目中引用Android库_Android_Eclipse_Adt_Libraries - Fatal编程技术网

Can';不要在我的项目中引用Android库

Can';不要在我的项目中引用Android库,android,eclipse,adt,libraries,Android,Eclipse,Adt,Libraries,我想使用android项目 我已将其导入我的工作区。 之后,我进入我的项目属性添加一个库,然后单击应用并确定,这样我得到: 如果我在这之后立即重新打开我的项目属性(Eclipse似乎失去了对库的引用) 仅供参考:我以前有两个工作区,但现在我只使用了一个。我通过删除eclipse并重新安装解决了这个问题,在以前使用两个工作区时,这似乎是一个eclipse错误 根据这个问题删除项目并再次导入它对我有效。我在尝试更改工作区时遇到了同样的问题,因此这是我的解决方案: 1. import and co

我想使用android项目

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

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


仅供参考:我以前有两个工作区,但现在我只使用了一个。

我通过删除eclipse并重新安装解决了这个问题,在以前使用两个工作区时,这似乎是一个eclipse错误


根据这个问题

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

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

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

谢谢

检查project.properties文件。检查链接中的答案。也许会有帮助。不过我不确定。这是在更新sdk和adt之后发生的吗?@Raghunandan:no,简单安装,不更新或其他任何东西。@blackbelt:project.properties Eclipse将该文件用于库引用。