Android – Debug Certificate Expired

I haven’t opened the Android projects in my notebook for a long time. Last week when i opened one of the Android project, i found that i could not deploy the app to the simulator and the Eclipse prompt the following error.

  • [2011-02-24 01:23:40 – Notepadv1]Error generating final archive: Debug certificate expired on 10/24/10 1:33 PM!


 

This is because the Android system requires the application to be signed first before it could be deployed. and the auto generated key will be expired in one year when it is first created. So if you got the above error, just simply delete the keystore in

  • Mac – ~/.android
  • Linux – ~/.android
  • Windows – C:\Documents and Settings\.android or C:\Users\.android

 

Refresh the project and the error should gone.

Done =)

Reference: Android Developers – Signing Your Applications

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.