`

解决:Android中 Error generating final archive: Debug Certificate expired on

 
阅读更多
如何解决:Android中 Error generating final archive: Debug Certificate expired on 日期错误,

原因:
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)
然后 clean您的工程即可。
分享到:
评论

相关推荐

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

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

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

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

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

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

    Generating Artifacts问题解决.doc

    Generating Artifacts问题三种解决办法

    maven \"Generating project in Batch mode\"问题的解决

    这篇博客文章“maven \"Generating project in Batch mode\"问题的解决”可能会提供一些解决方案。 在Maven中,"Batch mode"是指不交互地运行Maven命令,即在执行Maven目标时不等待用户输入。这对于自动化脚本或CI/...

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

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

    这个压缩包文件“Bazel rules for generating a Java Web Archive (WAR).zip”显然包含了用于使用Bazel构建WAR文件的规则和配置。 在Java开发中,构建工具如Maven或Gradle广泛用于自动化构建过程。Bazel提供了一种...

    android利用jword生成word文件

    Log.e("WordGenerator", "Error generating Word file", e); return false; } } @Override protected void onPostExecute(Boolean success) { if (success) { Toast.makeText(context, "Word文件已成功生成...

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

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

    Keil+C编译器常见警告与错误信息的解决方法 Keil+C编译器是一款功能强大且广泛应用的编译器,但是在使用过程中经常会遇到各种警告和错误信息,这些信息可能会导致编译器终止或编译失败。了解这些警告和错误信息的...

    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代码-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

    DeepMasterPrints: Generating MasterPrints for Dictionary Attacks via Latent

    the efficacy of the proposed method in generating DeepMasterPrints. The underlying method is likely to have broad applications in fingerprint security as well as fingerprint synthesis.

    Generating Functionology

    Generating Functionology

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

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

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

    OpenGL_on_a_Windows_Form_opengl三维_DEMO_vc++_

    opengl 三维绘图演示程序。在visual c++ 2010 以上版本测试通过。... C:\2020\demo\OpenGL_on_a_Windows_Form\Debug\OpenGL_on_a_Windows_Form.exe========== Rebuild All: 1 succeeded 0 failed 0 skipped ==========

Global site tag (gtag.js) - Google Analytics