Android Studio 2.1.1, fully up-to-date, IDE just crashed, and my project files disappeared

我的未来我决定 提交于 2019-12-13 07:10:31

问题


So, the IDE crashed, prompted me to "Send a Crash Report" then closed. When I reopened my project, no files were visible. I checked the project folder and there's nothing there, only the .idea folder. All gone! Undelete tools find nothing... A day's work gone!

I've searched this group but found nothing helpful...

Is there a solution to this? Where are my files?

And why would an IDE crash wipe my files?


回答1:


After some digging around on my Hard Drive I noticed that said missing files were in a different project folder - the WRONG folder...

It appears the location of the original project that I copied then refactored was the target for Android Studio to dump the files when it crashed... Consequently the original project files were replaced/over-written...

What I do not understand is that there is are absolutely NO references, nada, to the original project folder in any of the files...

Good news is I got my files back and my project is back on track!

I guess my advice to others in this situation is to check all potentially related project folders for anything that has 'gone missing'.



来源:https://stackoverflow.com/questions/37386878/android-studio-2-1-1-fully-up-to-date-ide-just-crashed-and-my-project-files-d

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!