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.
How can I recover a deleted project in Android Studio?
How to get back deleted files back in Android Studio.
- Go to the Project tool window and right-click the project node or just a folder, where the file used to exist.
- On the context menu, choose Local History, and click Show History on the submenu.
Where are projects saved in Android Studio?
Android Studio stores the projects by default in the home folder of the user under AndroidStudioProjects. The main directory contains configuration files for Android Studio and the Gradle build files. The application relevant files are contained in the app folder.