Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/eclipse/8.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
Android 无法使用Eclipse清理所有项目_Android_Eclipse_Git_Svn_Tortoisegit - Fatal编程技术网

Android 无法使用Eclipse清理所有项目

Android 无法使用Eclipse清理所有项目,android,eclipse,git,svn,tortoisegit,Android,Eclipse,Git,Svn,Tortoisegit,所以我的问题是,现在我已经从SVN切换到Git,我无法用Eclipse清理所有项目,而不会出现以下错误: “清理所有项目”遇到问题。 Errors occurred during the build. Errors running builder 'Android Package Builder' on project 'com.example.myproject'. Problems encountered while deleting resources. Could not delete

所以我的问题是,现在我已经从SVN切换到Git,我无法用Eclipse清理所有项目,而不会出现以下错误:

“清理所有项目”遇到问题。

Errors occurred during the build.
Errors running builder 'Android Package Builder' on project 'com.example.myproject'.
Problems encountered while deleting resources.
Could not delete '/com.example.myproject/bin/.git'.
我不清楚为什么.git文件夹甚至存在于bin下,其中有文件夹objects/pack和一些IDX和pack文件

我无法手动删除该文件夹,因为它表明IDX文件已在其他程序中打开。看起来像是乌龟状态缓存


谢谢。

以下解决了我的问题:

1.Open properties of project in Eclipse then Resources -> Resource filters.
2.Click the "Add..." button -> Check "Exclude all", "Files and folders", "All children".
  In the text entry box input ".git" (without quotes).
3.Restart Eclipse.

你有图书馆项目吗?我的项目中导入了google-play-services_lib。