`
mmdev
  • 浏览: 12891690 次
  • 性别: Icon_minigender_1
  • 来自: 大连
文章分类
社区版块
存档分类
最新评论

Android中Error generating final archive: Debug certificate expired on...的解决办法

 
阅读更多


在用Eclipse编译程序时,突然报Error generating final archive: Debug certificate expired on12-07-15的错误,顾名思义,是Debug证书过期所致。


在我们第一次使用ADT工具打包并签名之后,Android SDK会生成一个Debug签名证书,保存在debug.keystore文件中。ADT使用这个证书对每个生成的应用(Application)进行数字签名。然而,每个Debug证书的有效期限只有一年,超过日期之后,就会报以上错误,这时只需我们让Android SDK重新生成一个Debug签名证书即可。


解决办法:
在Windows系统下,Debug证书默认保存在C:\Documents and Settings\Administrator\.android目录下,进入该目录后,将debug.keystore和ddms.cfg文件删除即可。
当Android SDK发现debug.keystore丢失了,就会再自动生成一个新的Debug证书








分享到:
评论

相关推荐

    FairyGUI-Unity-Plugin-3.4.0.zip

    - NEW: Draw extra 8 directions instead of 4 directions to archive text outline effect. Toggle option is UIConfig.enhancedTextOutlineEffect. - IMPROVED: Eexecution efficiency optimizations. - IMPROVED:...

    XML Programming Bible

    Chapter 12: Generating XML from MS Access Data . . . . . . . . . . . Chapter 13: Creating an Excel Spreadsheet from an XML Data Source Part III: XML Web Applications Using J2EE . . . . . . . . . . . ...

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

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

    Beginning PHP 5.3

    Chapter 17: Generating Images with PHP . . . . . . . . . . . . . . . . . . . . . . . . . . 507 Chapter 18: String Matching with Regular Expressions . . . . . . . . . . . . . . . . 539 Chapter 19: ...

    Software Testing and Continuous Quality Improvement

    Software Testing and Continuous Quality Improvement <br>SECTION I SOFTWARE QUALITY IN PERSPECTIVE . . . . . . . . . . . . . . . 1 1 Quality Assurance Framework. . . . . . . ........

    Developing Flex Applications 910p dda_doc88_cracker.zip

    This package contains 3 kid: 1. a book Developing Flex Applications 2. a web page viewer for doc88 ebt ... CONTENTS PART I: Presenting Flex CHAPTER 1: Introducing Flex....About Flex....

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

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

    QC英文教程PDF文档

    Additional Online Resources...............................................................13 Documentation Updates .....................................................................14 Lesson 1: ...

    终于搞懂了,预编译头文件

    .. <br>fatal error C1010: unexpected end of file while looking for precompiled <br>header directive <br>Generating Code... <br>2)如果你把pch文件不小心丢了,编译的时候就会产生很多的不正常...

    Skiena-The_Algorithm_Design_Manual.pdf

    4.4 War Story: Give me a Ticket on an Airplane . . . . . . . . . . . 118 4.5 Mergesort: Sorting by Divide-and-Conquer . . . . . . . . . . . . 120 4.6 Quicksort: Sorting by Randomization . . . . . . . ...

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

    Android代码-javapoet

    JavaPoet is a Java API for generating .java source files. Source file generation can be useful when doing things such as annotation processing or interacting with metadata files (e.g., database ...

    bintray-release:从gradle释放到bintray的助手

    超级duper简单的方法来将您的Android和其他工件释放到二进制文件中。 描述 这是将库释放到Bintray的助手。 它旨在帮助配置与Maven和Bintray相关的内容。 目前,它可以与Android库项目,普通Java项目和普通Groovy...

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

    MATLAB 教程

    13 Numerical Operations on Functions . . . . . . . . . . . . . . . . 136 14 Discrete Fourier Transform . . . . . . . . . . . . . . . . . . . 138 15 Mathematical Functions Applied to Matrices . . . . ....

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

    JAX-WS 实现WebService发布

    NULL 博文链接:https://wujianjun.iteye.com/blog/531039

    A Low Complexity Algorithm for Generating Turbo.pdf

    A Low Complexity Algorithm for Generating Turbo.pdf

    用GANs来自动生成音乐,ismir2019-tutorial-slides.zip

    来自加州大学和台湾中央研究院的Hao-Wen Dong, Yi-Hsuan Yang,近期在ISMIR 2019上,做了《Generating Music with GANs》的tutorial,并附上了相关代码,对GANs生成音乐感兴趣的同学,不要错过。Tutorial网站: ...

    python programming

    1 Computers and Programs 1 1.1 The Universal Machine . . . . . . . . ....1.2 Program Power .... ....1.4 Hardware Basics ....1.5 Programming Languages ....1.6 The Magic of Python ....1.7 Inside a Python Program ....

Global site tag (gtag.js) - Google Analytics