Browsing articles from "May, 2011"
May
22

Error generating final archive: Debug certificate expired

By Ben  //  Android  //  No Comments

I’m getting back into android development after being away from it for a while. When trying to build my application (using a 64 bit windows 7 machine) I received an error saying “Error generating final archive: Debug certificate expired on [mm/dd/yy hh:mm AM]“. To fix this in Eclipse I had to go to the “Window menu -> Preferences -> Android -> Build” and then find the location where my Default debug keystore was located which in my case was C:\Users\Ben\.android\debug.keystore. I opened up C:\Users\Ben\.android\ and deleted the debug.keystore file. Back in Eclipse I went to the project menu and selected “Clean…” which gave me the option to clean all projects or just selected projects. After cleaning the trouble project I was able to continue with debugging my application. A new debug.keystore file was created where the old one was.

Knowledge Bomb