Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I restore my project to an older version in Android Studio?

Tags:

I'm not using subversion or something like this, only Android Studio. I messed up some features and I need to get back to an older version of the project

How do I do it?

like image 806
migea Avatar asked Apr 26 '15 20:04

migea


2 Answers

Right click on a class file, and select "Local History". This will also work on directories.

Show Local History on App module directory

like image 56
PPartisan Avatar answered Nov 04 '22 08:11

PPartisan


Switch view to Android in the left part of the Android Studio, right-click the app node, Local History, Show History. Then find the revision you want back, right click it and choose Revert. Your whole project will be reverted to this state.

like image 36
Neurotransmitter Avatar answered Nov 04 '22 06:11

Neurotransmitter