Some Android projects on my notebook needed updates. 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.

[2013-04-24 01:23:40 – Notepad]Error generating final archive: Debug certificate expired on 04/24/13 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.


Reference: Android Developers – Signing Your Applications