3

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.

Community
  • 1
  • 1
Gopinath
  • 5,392
  • 21
  • 64
  • 97
  • Not to offend the proud users of Eclipse, but have you considered using Intellij IDEA for Android development? From my experience, this IDE is way more reliable. – Ash Jan 17 '12 at 11:49

2 Answers2

12

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

Community
  • 1
  • 1
Stephan
  • 15,704
  • 7
  • 48
  • 63
1

In android studio terminal write this command:

./gradlew signingReport
Krasavello13
  • 313
  • 5
  • 9
  • running this from my `my-react-native-app/android/` folder placed the `debug.keystore` file in the `my-react-native-app/android/app/` folder, not in my `~/.android` folder – Jonathan Morales Vélez Jul 07 '21 at 03:43