Android eclipse : Error generating final archive: Debug certificate expired on
2011年9月6日 星期二
how to fix it?
Answer:
Delete your debug certificate under
~/.android/debug.keystore
; the directory is something like %USERHOME%/.android
on Windows.Unfortunately a debug certificate is only valid for 365 days. To generate a new one you must delete the existing debug.keystore file. Its location is platform dependent - you can find it in Preferences - Android - Build - Default debug keystore.
The Eclipse plugin should then generate a new certificate when you next try to build a debug package. You may need to clean and then build to generate the certificate.