简体   繁体   English

指定的项目文件已经存在? 无法导入 Android Studio?

[英]The project file specified already exists? Can't import to Android Studio?

I keep trying to import a project that my teacher sent us as an example into Android Studio but I can't get it to work.我一直在尝试将我的老师作为示例发送给我们的项目导入 Android Studio,但我无法让它工作。 It keeps saying that "The project file specified already exists" and I don't know what to do.它一直说“指定的项目文件已经存在”,我不知道该怎么办。 I have tried uninstalling Android Studio completely and reinstalling it and it still says that the project file exists which makes no sense as I literally cannot have any projects on there with a fresh install.我已经尝试完全卸载 Android Studio 并重新安装它,它仍然说项目文件存在,这没有任何意义,因为我实际上无法在全新安装的情况下有任何项目。 I made sure to delete all other files related to it too.我确保也删除了与之相关的所有其他文件。 All my workspaces are clear.我所有的工作空间都很清晰。 Does anyone have an idea of what's going on?有人知道发生了什么吗?

I had the same problem.我有同样的问题。 I just renamed the folder name and imported as normal in Android Studio.我只是重命名了文件夹名称并在 Android Studio 中正常导入。 Remember to rebuild project, so directory is correct to your system请记住重建项目,因此目录对您的系统是正确的

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM