While adding a feature to my app I messed up and decided to delete all the new files I had added for it but in doing that I accidentally deleted one of the activity from my app. I have integrated version control in my app and also shared my whole app source with GitHub but for some reason whenever I check out of previous version controls I cannot find the file. How can I recover the activity.java file? I have the app installed on my phone. Is it possible to recover it from there? or any other way to recover it?
If Ctrl + z or version control didnt worked try to check the local history of the android studio:
Move to project structure -> right click on your app name -> local history -> show history
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With