`

Error generating final archive: Debug Certificate expired on 11/6/12 11:33 AM

阅读更多

刚刚碰到如题的错误,查了下看到如下解释,签名过期,重新生成新签名,与之前的不同(其实我想说不能直接连接调试,需要先卸载之前安装的有不同签名的程序)。

 

 写道
如何解决:Android中 Error generating final archive: Debug Certificate expired on 10/09/18 16:30 的错误
问题概述:

在导入一个app后提示如下错误:

“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)

然后重新导入即可。

 

 

最重要的感慨是我做android开发真正的满一年了啊!!!博客写的半吊子,虽然学到东西了,但是讲不明白。。不是突飞猛进。。

继续努力!!!

 

分享到:
评论

相关推荐

    在配置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 ...

    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\...

    MSCOCO的Karpathy split是什么1

    MSCOCO 数据集的 Karpathy split 是指 Andrej Karpathy 等人在 2015 年 CVPR 论文《Deep Visual-Semantic Alignments for Generating Image Descriptions》中提出的数据集划分方式。这种划分方式将原始数据集 MS ...

    前端UI框架Svelte.zip

    Svelte 是一个前端 UI 框架。 ... onerror: err => { console.error( err.message ); }, onwarn: warning => { console.warn( warning.message ); } }); 标签:svelte

    microtrains:Micronaut的示例应用程序

    微火车要求 Java JDK 11( ) Docker( ) Docker撰写怎么跑$ ./gradlew> Task :webapi:compileJavaNote: Generating OpenAPI DocumentationNote: Writing OpenAPI YAML to destination: /webapi/build/classes/java...

    restclient.jar下载

    Once used a tool called WisdomTool REST Client supports automated testing, output exquisite report, and automatically generating RESTful API document. Lightweight tool with very powerful features! ...

    REST Client 测试工具

    Once used a tool called WisdomTool REST Client supports automated testing, output exquisite report, and automatically generating RESTful API document. Lightweight tool with very powerful features! ...

    restclient下载

    Once used a tool called WisdomTool REST Client supports automated testing, output exquisite report, and automatically generating RESTful API document. Lightweight tool with very powerful features! ...

    restclient客户端下载

    Once used a tool called WisdomTool REST Client supports automated testing, output exquisite report, and automatically generating RESTful API document. Lightweight tool with very powerful features! ...

    REST Client 工具

    Once used a tool called WisdomTool REST Client supports automated testing, output exquisite report, and automatically generating RESTful API document. Lightweight tool with very powerful features! ...

    php.ini-development

    6. The directory from the --with-config-file-path compile time option, or the ; Windows directory (C:\windows or C:\winnt) ; See the PHP docs for more specific information. ; ...

    Github workflow Github 工作流程.pdf

    - **SSH密钥**:参考[生成SSH密钥](https://help.github.com/articles/generating-an-ssh-key/)。 - **凭据助手(Credential Helper)**:参考[缓存GitHub密码]...

    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, ...) failed. make (e=2): 系统找不到指定的文件。 Makefile.Debug:...

    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下半年\图形学\计算机...

    sciter-sdk-4.0.3.5348

    [API] Generating event_handler::detached() call on window destruction (if it has DOM handlers set). [API] sciter::image::load() implementation. fix of ellipsis rendering. |pager> fixes. regression fix...

    Keil+C编译器常见警告与错误信息的解决方法[归类].pdf

    * C51 FATAL-ERROR –ACTION <current action> LINE : <line in which the error is detected> ERROR : <corresponding error message> * C51 FATAL-ERROR –ACTION <current action> FILE : <file in which the ...

    SynPDF-master 2016-07-12

    In fact, you have at least three ways of generating pdfs using the library: * [Directly call](http://synopse.info/forum/viewtopic.php?pid=370#p370) of a `TPdfCanvas` as published by a `TPdfDocument` ...

Global site tag (gtag.js) - Google Analytics