您的位置:首页 > 其它

Some projects cannot be imported because they already exist in the workspace

2014-04-14 19:06 417 查看
问       题:在导入Android工程的时候出现以下提示:

1、Some projects cannot be imported because they already exist in the workspace

2、Some projects were hidden because they exist in the workspace directory

原       因:可能是在IDE的workspace中已经存在了相同名字的项目,所以不能导入。
解决办法:修改项目名字

1、右击项目名称——>refactor——>rename;
2、workspace找到要修改名字的项目——>打开.project文件——>修改<name>projectName</name>

原       因:如果是以前导入过这个工程,可能是删除时没有删除干净。

解决办法:

1、uncheck the "copy projects into workspace" selectbox, and then click "refresh" button, you will be able to import the project

2、找到workspace下.metadata\.plugins\org.eclipse.core.resources\.projects中文件,清除即可;
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
相关文章推荐