Programming/Non programming

Tuesday, August 9, 2011

Android: Debug Certificate Error

Issue:

Sometimes when we upgrade Eclipse and Android, and try to build or run project, Eclipse may throw error as "Debug Certificate Error".

Reason:
Once debug.keystore file is created, it works for one year only. To work for another year, follow the below simple steps.

Solution for Mac users:

Close Eclipse.
Go to "~USERS/.android/" and remove the file "debug.keystore" (or) move(cut & paste) this file to another location.
Launch Eclipse again and build/run your projects.
It should create new debug.keystore file automatically to work for another a year without any issues.


Cheers! Enjoy reading this blog..

M.P.PRABAKAR
Tech lead Software mobile development.