在Android Studio中恢复文件? [英] Recover file in Android Studio?

查看:381
本文介绍了在Android Studio中恢复文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Android Studio(1.2版)中创建了一个项目,在该项目上工作了几个星期后,我的电脑突然关闭(Android Studio当时已打开)。



再次启动电脑后,我发现我的文件之一已被完全擦除。



这是工作区的快照 -





正如您所看到的,该文件没有任何内容。



有什么办法来恢复该文件?

解决方案



< 您可以在文件资源管理器中找到该文件吗?



如果可以,请尝试通过其他浏览器打开该文件



您可以通过右键单击项目并点击文件路径找到项目路径



/ strong>



尝试右键点击错误的文件,然后选中本地历史记录 - > 显示历史记录



如果您可以获取本地历史记录,请右键点击历史记录条目,然后点击恢复


I create a project in Android Studio (Version 1.2) and after working on that project for a few weeks, my PC suddenly shut down (Android Studio was open at that time).

After starting the PC again, I found that one of my file was completely erased.

Here is the snapshot of the workspace -

As you can see, nothing is left on that file.

Is there any way to recover that file? I am using Ubuntu 14.04.

Thanks in Advance.

解决方案

Can you find the file in file explorer?

If you can, try to open the file through another explorer

You can find your projects path by right clicking the project and hitting "File Path"

Is there local history available?

Try right clicking the faulty file and checking Local History -> Show History

If you can fetch the local history, right click the history entry and click revert

这篇关于在Android Studio中恢复文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆