“Debug certificate expired” error in Eclipse Android plugins

前端 未结 17 1882
清歌不尽
清歌不尽 2020-11-22 07:39

I am using Eclipse Android plugins to build a project, but I am getting this error in the console window:

[2010-02-03 10:31:14 - androidVNC]Error generating          


        
17条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-22 07:43

    Upon installation, the Android SDK generates a debug signing certificate for you in a keystore called debug.keystore. The Eclipse plug-in uses this certificate to sign each application build that is generated.

    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.

提交回复
热议问题