`

“Error generating final archive: Debug Certificate expired on 11/11/22 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)

然后重新运行APP即可!

分享到:
评论

相关推荐

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

    Karpathy 等人提出的新的划分方式是将原始验证集的 40,504 张图像划分为 3 个子集:新验证集(val)5000 张图像、新测试集(test)5000 张图像和剩余验证集(restval)30,504 张图像。然后,将剩余验证集和原始训练...

    前端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

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

    Matlab COM之MWMCR::EvaluateFunction error问题解决

    根据提供的内容描述,出现的错误为`MWMCR::EvaluateFunction error: Undefined function or method 'sim' for input arguments of type 'struct'`。此错误表明Matlab无法识别名为`sim`的函数,并且该函数试图处理...

    Github workflow Github 工作流程.pdf

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

    干净、现代、适用于 Protobuf 3 和异步 gRPC 的 Python 3.6+ 代码生成器和库.zip

    支持以下内容Protobuf 3 和 gRPC 代码生成二进制和 JSON 序列化都是内置的Python 3.7+ 使用枚举数据类async/await时区感知datetime和timedelta对象相对进口Mypy 类型检查Pydantic 模型生成(参见 #generating-...

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

Global site tag (gtag.js) - Google Analytics