`
心雨心
  • 浏览: 351847 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

如何解决:Android中 Error generating final archive: Debug Certificate expired on 10/09

 
阅读更多

问题概述:

在导入一个app后提示如下错误(出现该问题,是debug.keystore使用了一年,需要重新生成):

“Error generating final archive: Debug Certificate expired on 10/09/18 16:30”

 

原因分析:

android要求所有的程序必须有签名,否则就不会安装该程序。在我们开发过程中,adt使用debug keystore,在 preference->android->buid中设置。debug的keystore默认有效期为一年,如果你是从一年前开始完android程序,那么在一年后导入这个app的时候很可能出现debug keystore过期,导致你无法生成 apk文件。

此时你只要删除debug keystore就行,系统又会为你生成有效期为一年的私钥。 

 

解决方法:

进入C:\Documents and Settings\Administrator\.android 删除路径下的debug.keystore及 ddms.cfg。

(不同环境下的目录可能略有不同,可在eclipse中查找此路径:Window->Preferences->Android->Build下 Default debug keystore)

然后重新导入即可。

分享到:
评论

相关推荐

    kestore-export

    Generating new PFX Key/Certificate pair, please enter a password Loading 'screen' into random state - done Enter Export Password: Verifying - Enter Export Password: Created new PEM key : c:\temp\...

    Qt编译过程出现错误process_begin: CreateProcess(NULL, rm -f debug/moc_predefs.h, …) failed的解决办法

    目前尚未解决,先记录一下。有知道的朋友不妨留言告知,谢谢。 Makefile.Debug:168: recipe for target 'compiler_moc_predefs_clean' failed process_begin: CreateProcess(NULL, rm -f debug/moc_predefs.h, ...) ...

    Android Studio 当build时候出错解决办法

    Android Studio在build的时候出现transformClassesWithDexForDebug Android Studio在build的时候出现以下问题: Error:Execution failed for task ':app:transformClassesWithDexForDebug'. > ...

    VS画矩形的代码

    /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"Debug/Test.pch" /Yu"stdafx.h" /Fo"Debug/" /Fd"Debug/" /FD /GZ /c "E:\E03教学\2011下半年\图形学\计算机...

    Generating Artifacts问题解决.doc

    Generating Artifacts问题三种解决办法

    在配置SSH免密登录时报错:/usr/bin/ssh-copy-id: ERROR: failed to open ID file ‘/root/.pub’: 没有那个文件或目录

    /usr/bin/ssh-copy-id: ERROR: failed to open ID file '/root/.pub': 没有那个文件或目录 (to install the contents of '/root/.pub' anyway, look at the -f option) 解决方法 [root@hadoop1 sbin]# ssh-keygen ...

    Android代码-secure-storage-android

    Storing Credentials Securely on Android Devices Introduction Storing credentials securely on a device is in many occasions necessary. You probably don't want to rely only on the separation of ...

    itk,错误:use /Zm to specify a higher limit解决办法

    fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit Generating Code... fatal error C1076: compiler limit : internal heap limit reached; use /Zm to ...

    Android代码-LowPoly

    LowPoly:A Tool for Generating Low Poly Photo LowPoly is implemented by JNI, so it's much faster than other in java. Like this: Including in your project There are two ways: 1.You can import the ...

    Android代码-BackgroudLibrary

    1.0.5 解决android 8以下Fragment中view显示问题,解决水波纹不能与press事件共存问题,优化水波纹显示 1.2.0 增加对selector的支持 1.2.2 修复部分属性不生效的bug 1.2.3 checkbox radiobutton使用的bug 1.2.4 新增...

    IAR 编译错误清单

    6 20编1 ①错误描述:Tool Internal Error: Internal Error: [CoreUtil General]: Access violation 0xc0000005 at 007588A5 reading from address 0x0 Internal Error: [CoreUtil General]: Access violation 0xc...

    Android Platform Developer‘s Guide.doc

    6. Debug Android-specific init programs on RAMdisk 39 7. Verify that applications have started 40 8. Pulling it all together 40 Android Init Language 41 Display Drivers 46 In this document 46 ...

    Bazel rules for generating a Java Web Archive (WAR)..zip

    Bazel rules for generating a Java Web Archive (WAR)..zip

    Generating Functionology

    Generating Functionology

    Mobile Speech Recognizer 1.2

    You have to run your app on real iOS or Android device. MOBILE SPEECH RECOGNIZER - UNITY PLUGIN ?2 Quick Start Open example scene Go to KKSpeechRecognizer/Example folder inside Unity and open ...

    数字识别之神经网络法

    m_cInfoBox.InsertString(-1, "Generating noisy data..."); int num = 0; for (int i=0;i* NN_NOISY;i++) { for(int j=0;j* NN_RESY;j++) { if (rand() % 100 ) { m_iNoisy[i][j] = !m_...

    Android代码-Cockpit

    Cockpit Introduction Cockpit is a helpful tool – a debug menu – for ...Gradle plugin generating a set of params based on user-defined yaml file, Android library containing classes to manage and di

    错误:使用MyEclipse Database Exp

    错误: Problem Occurred Generating Artifacts(Time of error : November 8,2009 6:54:39 PM GMT+08:00) Reason: Could not get list of suggested identity strategies from database. Probably a JDBC driver ...

    php.ini-development

    should be disabled, as enabling it may result in issues when generating XML ; documents, however this remains supported for backward compatibility reasons. ; Note that this directive does not control...

    Generating Random Networks and Graphs

    Generating Random Networks and Graphs By 作者: Ton Coolen – Alessia Annibale – Ekaterina Roberts ISBN-10 书号: 0198709897 ISBN-13 书号: 9780198709893 Edition 版本: 1 出版日期: 2017-05-23 pages 页数...

Global site tag (gtag.js) - Google Analytics