2010/10/1

Eclipse 顯示 Debug certificate expired 錯誤訊息

今天在 Google DevFest 的 Android Lab ,在把 Lab code 匯入 Eclipse 中編譯的時候,出現了以下的錯誤訊息:

Debug certificate expired

查了一下,發現原來在安裝 Android SDK for Eclipse plug-in 時,會建立一個 debug.keystore ,and generates a "debug" signing certificate for you and use the certificate to sign every build you make in Eclipse 。只不過,這個 keystore 有效期只有一年,所以如果安裝 Android SDK for Eclipse plug-in 滿一年的話,Eclipse 就會跳出錯誤訊息提醒你周年慶到囉!

refer to:
http://stackoverflow.com/questions/2194808/debug-certificate-expired-error-in-eclipse-android-plugins

ps. 如果有使用過 Java Security 相關的 package ,就會知道 .keystore 的檔案是用來儲存加解密時所需要的金鑰,直接翻成中文就是金鑰庫。

.

0 comments:

張貼意見