解决Debug certificate expired的问题
来源:互联网 发布:怎么去香港买pd 1知乎 编辑:程序博客网 时间:2024/06/05 20:07
使用Eclipse调试Android程序,源代码没有错,但总是提示:
Error generating final archive: Debug certificate expired on ****
从字面了解,是由于Debug证书过期所致。
Android的应用程序必须经过开发者自己的自签名证书进行数字签名之后,才能安装到Android系统上。在开发调试阶段,默认情况下,ADT辅助工具帮我们对apk文件进行了签名,采用的是默认的Debug版本的签名文件。
安装之后,Android SDK会生成一个Debug签名证书,保存在debug.keystore文件中。ADT使用这个证书对每个生成的应用(Application)进行数字签名。非常不幸的是,每个Debug证书的有效期限是365天,那么不可避免的就会有证书过期的问题了。而Android SDK又比较呆板,发现证书过期了,不会给你换新的,只会给你Error提示。
Windows系统下,这个Debug证书保存在C:/Documents and Settings/Administrator/.android目录下。查看了一下,发现这个证书的修改日期是2009年11月9日,差不多是一年前了,刚好有段时间没有使用Android SDK,这次使用即爆发这个问题了。
解决的办法比较简单:将debug.keystore直接删除。Android SDK发现debug.keystore丢失了,就会自个生成一个新的。再运行SDK,一切正常了。
- 解决Debug certificate expired的问题
- 解决Debug certificate expired的问题
- 解决Debug certificate expired的问题
- 解决Debug certificate expired的问题
- 解决Debug certificate expired的问题 .
- 解决Debug certificate expired的问题 .
- 解决Debug certificate expired的问题
- 解决Debug certificate expired问题
- 解决Eclipse编译Debug certificate expired的问题
- 如何解决Android中 Error generating final archive: Debug Certificate expired on的问题
- 解决Android Debug certificate expired on ****
- Debug certificate expired on ***错误的处理
- Debug certificate expired
- Android Debug certificate expired
- Debug certificate expired on
- Debug Certificate expired
- 解决Error generating final archive: Debug certificate expired on XXX问题
- 如何解决:Android中 Error generating final archive: Debug Certificate expired on 的错误 (转
- 10款iOS高效开发必备的Objective-C类库
- 另一个IE6关于浮动、margin-bottom的兼容问题
- js 层浮动或者鼠标跟随类似
- 如何学习一门语言
- 在Wince5.0中实现关机功能
- 解决Debug certificate expired的问题
- iOS 图标尺寸及用途。(新同学可以看看)
- js动态获取图片的宽度和高度像素值
- Birt API 实现动态参数列报表
- zoj 1003 Crashing Balloon
- 如何成为一名黑客
- 华为面试题三维数组问题
- 计算机生成真随机数原理及实现
- pcap文件格式