简体   繁体   中英

Android Studio Project Files are Missing

I was working on app and it was opened in Android Studio. It was all perfect but when after some browsing i clicked on android studio window. it says there are no files opened.

and when I checked in file explorer, all of my project files are removed except .idea folder.I did spend a lot of days on it. I cannot let this happen to me. what possible solutions of this problem?

I tried windows folder recovery, no benefit.

File > Invalidate Caches & Restart似乎是大多数奇怪的解决方案。

  1. Before trying any thing. Back-up the project you have.
  2. You can look through local history in Android Studio. In Android Studio -> VCS (Menu) -> Local History -> show History
  3. Select an early restore point that includes your sources-> right mouse -> Revet

strongly I'd recommend you to use git to avoid such as situation. The code is Our Precious👽 Don't lose it.🙂

Just make a copy of the project and save it to another location and open it from the new location. Build it again and it will work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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