Android 无法使用Eclipse清理所有项目
所以我的问题是,现在我已经从SVN切换到Git,我无法用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
“清理所有项目”遇到问题。
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。