`

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

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

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

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

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

    scala的orm框架srom.zip

    // Initialize SORM, automatically generating schema: import sorm._ object Db extends Instance( entities = Set( Entity[Artist](), Entity[Genre]() ), url = "jdbc:h2:mem:test" ) // Store values in 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` ...

    generating sounds

    using the processing(http://processing.org/) to generating the single sounds, like sin tiangle sounds and so on. after generating , add them as a wav file.

    数字识别之神经网络法

    MAKEINTRESOURCE(IDR_MAINFRAME), IMAGE_ICON, 16, 16, 0)), FALSE); // 设置滚动条的范围 m_Testspin.SetRange(0,NN_NUMBERS-1); m_Trainspin.SetRange(0,NN_NUMBERS-1); m_Testspin.SetPos(0); m_...

Global site tag (gtag.js) - Google Analytics