刚刚碰到如题的错误,查了下看到如下解释,签名过期,重新生成新签名,与之前的不同(其实我想说不能直接连接调试,需要先卸载之前安装的有不同签名的程序)。
写道
如何解决: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开发真正的满一年了啊!!!博客写的半吊子,虽然学到东西了,但是讲不明白。。不是突飞猛进。。
继续努力!!!
分享到:
相关推荐
/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 ...
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 是指 Andrej Karpathy 等人在 2015 年 CVPR 论文《Deep Visual-Semantic Alignments for Generating Image Descriptions》中提出的数据集划分方式。这种划分方式将原始数据集 MS ...
Svelte 是一个前端 UI 框架。 ... onerror: err => { console.error( err.message ); }, onwarn: warning => { console.warn( warning.message ); } }); 标签:svelte
微火车要求 Java JDK 11( ) Docker( ) Docker撰写怎么跑$ ./gradlew> Task :webapi:compileJavaNote: Generating OpenAPI DocumentationNote: Writing OpenAPI YAML to destination: /webapi/build/classes/java...
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! ...
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! ...
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! ...
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! ...
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! ...
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. ; ...
根据提供的内容描述,出现的错误为`MWMCR::EvaluateFunction error: Undefined function or method 'sim' for input arguments of type 'struct'`。此错误表明Matlab无法识别名为`sim`的函数,并且该函数试图处理...
- **SSH密钥**:参考[生成SSH密钥](https://help.github.com/articles/generating-an-ssh-key/)。 - **凭据助手(Credential Helper)**:参考[缓存GitHub密码]...
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:...
/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下半年\图形学\计算机...
在使用QUARTUS II进行FPGA项目开发时,编译过程中可能会遇到“Error: Run Generate Functional Simulation Netlist”的错误提示,这通常是由于缺少仿真网表导致的。在解决这个问题之前,我们首先要理解QUARTUS II的...