I am using Android Studio and the application is stored in /Application/Android Studio.app.

I'm not sure why, but at some point my keystore file was stored inside this directory, in the bin directory. It is no longer there. I assume that an update occurred, and the entire directory Android Studio.app was wiped. And, the key was deleted. Since this is outside my home folder, I don't believe I have a backup of the keystore file.

Are these files backed up, or put into the trash? Is there a way to recover this file?

migrated from serverfault.com Sep 22 '13 at 19:19

This question came from our site for system and network administrators.


If you have Time Machine enabled as a local store option or backing up to an external drive, then that file would be backed up - perhaps several versions and stores.

The filesystems Apple ships do not have any archive or redo, so you would need to have backed up your application. It's odd that it would store things in the application bundle and not the user home folder. Did you check that perhaps it moved the files to the proper location as part of an update?

  • I think that when I opened the application for the first time, the internal current working directory must have been set to the bin folder, and I just accepted the default to store it there. I assume this is not the correct place to store it, but when I try to build an APK it has saved this as the location. I did not find the file anywhere in my home directory, so I think it is lost to me unless I can recover it somehow using other means. – xrd Sep 22 '13 at 19:33
  • 1
    @xrd Data Rescue is the undelete tool of choice on OS X - apple.stackexchange.com/questions/54953/… – bmike Sep 22 '13 at 20:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .