`

解决: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您的工程即可。
分享到:
评论

相关推荐

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

    Keil+C编译器常见警告与错误信息的解决方法 Keil+C编译器是一种流行的嵌入式系统开发工具,它提供了强大的编译和调试功能。然而,在使用Keil+C编译器时,开发者可能会遇到各种警告和错误信息。这些警告和错误信息...

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

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

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

    Generating Artifacts问题解决.doc

    ### Generating Artifacts问题解决知识点详解 #### 一、问题背景及概述 在使用MyEclipse进行Web开发过程中,特别是利用Hibernate框架进行数据库反向工程(Hibernate Reverse Engineering)时,可能会遇到名为...

    IAR安装、编译等错误、警告集

    在本文中,我们将深入探讨如何解决IAR集成开发环境(IDE)中常见的错误和警告,以便于更顺畅地进行项目开发。IAR是一款强大的嵌入式系统开发工具,尤其适用于微控制器应用程序。以下是一些关键知识点: 1. **许可证...

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

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

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

    Herbert S. Wilf - Generating Functions.pdf

    ### Generating Functions in Discrete Mathematics: An Overview Based on Herbert S. Wilf's Work #### Introduction to Generating Functions Generating functions serve as a bridge between discrete ...

    IE11下使用canvas.toDataURL报SecurityError错误的解决方法

    在IE11浏览器中,使用`canvas.toDataURL`方法可能会遇到`SecurityError`的问题,这是因为IE11在处理跨域图像时的安全策略比其他现代浏览器更为严格。在尝试获取canvas对象上的数据URL时,如果canvas上绘制了来自不...

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

    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文件已成功生成...

    Generating Functionology

    部分指数生成函数**(Partial Exponential Generating Function, PEGF):结合了普通生成函数和指数生成函数的特点,用于解决特定类型的组合问题。 **4. 目录生成函数**(Dirichlet Generating Function, DGF):...

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

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

    keil编译中的常见问题

    5. Error: #1113: Inline assembler not permitted when generating Thumb code 这个错误信息表明,使用内联汇编时,编译器不支持 Thumb 或 Thumb-2 汇编语言。解决方法是,将内联汇编语句移到一个单独的子函数中,...

    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

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

Global site tag (gtag.js) - Google Analytics