如何重新打开关闭的Android项目?
我正在使用 Eclipse 开发 Android 项目。我尝试重新打开一个已关闭的项目,但收到以下消息......
项目描述文件 (.project) 缺失。这 文件包含重要信息 关于该项目。该项目将 在此文件之前无法正常运行 已恢复。
我以为我可以从我的源文件夹创建项目(通过使用 Windows 资源管理器),但项目完全消失了(而且我没有备份到外部驱动器)
有什么建议如何恢复这些项目吗?
I am using Eclipse to develop Android projects. I tried to reopen a closed project but got the following message...
The project description file
(.project) for is missing. This
file contains important information
about the project. The project will
not function properly until this file
is restored.
I thought I could just create the project from my source folders (by using Windows Explorer) but the projects are completely gone (and I hadn't backed up to an external drive)
Any suggestions how to get these projects back?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
关闭项目不会删除 .project 文件。发生了其他事情删除了它。
为了从这种情况中“恢复”,我会执行以下操作:
closing a project does not delete the .project file. something else happened to delete that.
To "recover" from this situation I would do the following:
您的项目来源完全消失了吗?您检查过您的工作空间位置吗?
如果您仍然有源代码,您可以创建一个新项目并将源代码复制到其中。 (通过资源管理器执行此操作)
您还可以尝试从另一个项目复制 .project 文件。项目打开后,您可以右键单击该项目并选择“修复项目属性”
Is your source for your projects completely gone? Did you check your workspace location?
If you still have your source you can create a new project and copy your source into it. (do this via explorer)
You can also try copying a .project file from another project. After the project opens you can then right click on the project and select 'fix project properties'
使用窗口/显示视图/包浏览 (Alt+Shift+ Q P)
然后在 Package Explore 窗口中选择您的项目
下一步项目/打开项目
我花了很长时间才找到它。
use window/show view/Package Explore (Alt+Shift+ Q P)
then in Package Explore window select your project
next step project/open project
its take me long time to find it.