File empty in Android Studio

After software malfunction and reboot you open your project in Android Studio just to discover that the source file you had been working on is empty and all your code is gone.

Don’t panic!

On the main menu of the application go to: VCS -> Local History -> Show History .

You will find all the earlier versions of your code there.

Advertisements


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s