- 浏览: 15016 次
最新评论
Android:Debug certificate expired on DATE 解决方法
2010年11月26日
Eclipse中编译Android工程时,提示错误 :Error generating final archive: Debug certificate expired on xxxxxx(日期)
解决办法:
进入:C:\Documents and Settings\USER(用户账户)\.android ,删除:debug.keystore和ddms.cfg
Once in a while the SDK shows some hickups usually easy to solve. As this one. Today i got this error message "Error generating final archive: Debug certificate expired on …" while building an apk file inside Eclipse to be run in the emulator on a machine which has not been used for a while. If you are using IntelliJ 9 with the Android plugin the error message looks like this:
Well, the idea to just update all components to the current state and then to compile a project to check it out on this backup development system went from a 10 min cruise to the unexpected question "Whats wrong?". Looking at the error message it was clear that the build process wanted to use a certificate which timed out. The Android SDK is using certificates to sign all the apk files even ther files which run in the emulator (fair enough). The cert is usually valid for just 365 days which means that you get the same error next time shortly after forgetting how you'd solve it last time. The simple solution is to just delete the file "debug.keystore " which is stored in your home directory under "~/.android " (OSX, Linux). A Windows Vista/7 user will find the file in the "C:\Users\<user<\.android folder. After deleting the file just "clean" your project and build int from scratch and the error should be gone. To prevent this brain training procedure for a while a decided to generate a key which lasts 1000 days instead of just the full year. Startup the OSX terminal app or the Linux terminal and go to the ".android" folder. Delete the old certificate file first. Then issue the following command from the command line: keytool -genkey -keypass android -keystore debug.keystore -alias androiddebugkey -storepass android -validity 1000 -dname "CN=Android Debug,O=Android,C=US" Now there should be a new certificate file sitting in the folder which lasts 1000 days enough to really forget how you solved this issue last tim
发表评论
-
[原创]Google App Engine使用简介
2012-01-20 02:06 1030[原创]Google App Engine使用 ... -
异常处理
2012-01-20 02:06 704异常处理 2010年07月23日 下面的代码举例说明了一 ... -
使应用程序只能运行一个实例
2012-01-20 02:06 869使应用程序只能运行一个实例 2010年07月16日 这里 ... -
诺基亚手机里的秘密
2012-01-19 09:56 586诺基亚手机里的秘密 2011年05月18日 诺基亚手机* ... -
Windows XP系统文件一一诠释(1)[最新整理](转BY wang6610----BBS.WUYOU.COM)
2012-01-19 09:56 782Windows XP系统文件一一诠 ... -
5230
2012-01-19 09:56 5605230 2010年12月31日 一、购机后的头两件 ... -
sdsadsadas
2012-01-19 09:56 557sdsadsadas 2010年11月22日 XV67 ... -
5230
2012-01-19 09:56 6215230 2010年10月03日 1、屏幕保护:一定要买 ... -
ReleaseDC和DeleteDC的区别 (转)
2012-01-17 02:27 885ReleaseDC和DeleteDC的区别 (转) 2011 ... -
FlashBuilder4.5 下载 及破解方法
2012-01-17 02:27 718FlashBuilder4.5 下载 及破解方法 2011年 ... -
ROOT【个人学习,慎用】
2012-01-17 02:27 635ROOT【个人学习,慎用】 ... -
(转) iPhone UI 开发的几点建议
2012-01-17 02:27 532(转) iPhone UI 开发的几点 ... -
MFC自定义消息
2012-01-17 02:26 626MFC自定义消息 2011年11月28日 MFC自定义消 ... -
workplan
2012-01-15 22:12 407workplan 2011年04月18日 ... -
.net自定义控件小结进阶篇
2012-01-15 22:12 855.net自定义控件小结进阶篇 2010年12月14日 ... -
WPF中的控件
2012-01-15 22:12 1207WPF中的控件 2011年05月17日 1.Button ... -
【C#】在VS2005中C#实现鼠标悬停提示
2012-01-15 22:12 1483【C#】在VS2005中C#实现鼠标悬停提示 2010年01 ... -
flex ComboBox显示的字太长,用......代替
2012-01-15 22:12 1058flex ComboBox显示的字太长,用......代替 ...
相关推荐
NULL 博文链接:https://irwenqiang.iteye.com/blog/1222755
Part of the existing bootstrap client certificate is expired: 2022-11-9 9:29:04 +0000 UT 这是说明k8s使用的证书过期了,k8s自带证书是一年的有效期。所以我们解决问题的办法就是更换证书。 kubernetes证书过期...
ORA-28001 the password has expired密码过期
使用安装的nvm来安装node各版本v9.6.1
我放到网盘上,欢迎下载,个人感觉比sublime好用,ftp管理方式很好用,还有包管理也很好
ireasoning mib browser是一个非常好用的mib浏览器。问题是,它的试用期只有一个月,一个月内所有功能都是开放的。...下文给出了解决办法。测试版本是7.5 (build 2708),估计其他版本原理相同也可以。
Cannot create cert chain: certificate has expired 此错误消息表明KINIT身份验证失败,因为客户端证书,KDC证书或其上方签名链中的某个证书已过期 kprop: No route to host while connecting to server 确保754...
主要为大家详细介绍了MySQL错误代码1862 your password has expired的解决方法,具有一定的参考价值,感兴趣的小伙伴们可以参考一下
今天发现电信送的一条固定IP地址出现问题,查确认属于是他们私自更改了我们的IP地址.电话通知电信大客经理...在下午接通知,已经改好
MyEclipse 8.5 注册--取消MyEclipse Trial Expired解决办法
[Sun Nov 27 16:46:38 2016] [error] SSL Library Error: -8181 Certificate has expired [Sun Nov 27 16:46:38 2016] [error] Unable to verify certificate 'Server-Cert'. Add "NSSEnforceValidCerts off" to nss...
kingbase SSL证书
16 FRANC3D常见错误信息及解决方案
错误信息: ERROR 1862 (HY000): Your password has expired. To log in you must change it using a client that supports...解决方式: 1.修改 my.cnf 配置文件 vi /etc/my.cnf 2.重启 mysql 服务 你可以使用 ser
创建电子应用 在一分钟内生成一个新的Electron App! ·· 什么是create-electron-app? 是一个简单,最小的CLI应用程序,可以在一分钟内生成一个Electron应用程序! Create-Electron-App使用样板作为样板。...
This library helps developer to read data from credit card: card number, expired date, card type. Works only with cards that has paypass or paywave technology! Demo Screenshots Usage Callbacks ...
installed on your system. If not please run "runtime.exe" the tool will do it automatically. 2. Just place the target files in the encoded directory. Then run one of the following executables. ...
Android 锁屏页面避免被杀掉,解锁会自动关闭页面。防止后台运行时被关闭。 谷歌,小米,华为 亲测可用。 重点解决魅族手机,需要授权应用获得锁屏页面权限。
wso2 新增OpenSSL生成並使用CA根證書籤名Keytool生成的證書請求 相關流程心智圖展開
一老哥想要实现navicat远程centos7上mongodb数据库 但是,不知咋的,就是远程不了,下面贴截图 navicat远程报错信息如下图 排查了一会 有发现: 一个问题就是:mongodb.conf 配置文件 配置把 binip 给注释掉 ...