How to find ~/.android/debug.keystore in Mac OS X

2019-05-12 00:09发布

问题:

I am very new to Android development. Now am facing this problem in Java Eclipse,

Error generating final archive: Debug Certificate expired on 1/11/12 12:52 PM       Unknown Android Packaging Problem

I searched in google and found the answer for my problem from this link "Debug certificate expired" error in Eclipse Android plugins. They gave the answer for my question. I am using Eclipse in Mac OS X. They gave solution that to delete debug.key from Preferences - Android - Build - Default debug keystore . I found the ~/.android/debug.keystorefrom that location and i tried to delete debug.keystore from Default debug keystore: but, i can't delete it from that location because it is not editable. Can anyone please solve my problem? Thanks in advance.

回答1:

Just rename or delete it manually in a terminal with: rm ~/.android/debug.keystore or mv ~/.android/debug.keystore ~/.android/debug.keystore-backup Or have a look at this thread