上网找的官方给的解决办法:
To fix this problem, simply delete the debug.keystore file. The default storage location for AVDs is in ~/.android/avd on OS X and Linux, in C:\Documents and Settings\\.android\ on Windows XP, and in C:\Users\\.android\ on Windows Vista.
The next time you build, the build tools will regenerate a new keystore and debug key
原因分析:
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)
然后重新导入即可。
分享到:
相关推荐
本文将详细介绍该错误产生的原因、解决方法,并通过具体的示例来帮助读者理解如何避免此类错误。 #### 错误描述 根据提供的内容描述,出现的错误为`MWMCR::EvaluateFunction error: Undefined function or method ...
- NEW: Draw extra 8 directions instead of 4 directions to archive text outline effect. Toggle option is UIConfig.enhancedTextOutlineEffect. - IMPROVED: Eexecution efficiency optimizations. - IMPROVED:...
### Generating Artifacts问题解决知识点详解 #### 一、问题背景及概述 在使用MyEclipse进行Web开发过程中,特别是利用Hibernate框架进行数据库反向工程(Hibernate Reverse Engineering)时,可能会遇到名为...
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 . . . . . . . . . . . ...
Software Testing and Continuous Quality Improvement <br>SECTION I SOFTWARE QUALITY IN PERSPECTIVE . . . . . . . . . . . . . . . 1 1 Quality Assurance Framework. . . . . . . ........
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....
在本文中,我们将深入探讨如何解决IAR集成开发环境(IDE)中常见的错误和警告,以便于更顺畅地进行项目开发。IAR是一款强大的嵌入式系统开发工具,尤其适用于微控制器应用程序。以下是一些关键知识点: 1. **许可证...
1. **QGIS 3.6.1源码**:首先,你需要从GitHub(https://github.com/qgis/QGIS/archive/final-3_6_1.zip)下载QGIS 3.6.1的源代码包。 2. **OSGeo4W Setup**:这是一个Windows下的开源GIS软件包管理器,用于安装...
predict.py: Script for generating the neural network predictions on a given dataset. $ python predict.py .\data\test_set\ .\final_model.hdf5 generate_figures_and_tables.py: Generate results. $ python ...
// 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...
目前尚未解决,先记录一下。有知道的朋友不妨留言告知,谢谢。 Makefile.Debug:168: recipe for target 'compiler_moc_predefs_clean' failed process_begin: CreateProcess(NULL, rm -f debug/moc_predefs.h, ...) ...
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 . . . . . . . ...
Additional Online Resources...............................................................13 Documentation Updates .....................................................................14 Lesson 1: ...
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\...
来自加州大学和台湾中央研究院的Hao-Wen Dong, Yi-Hsuan Yang,近期在ISMIR 2019上,做了《Generating Music with GANs》的tutorial,并附上了相关代码,对GANs生成音乐感兴趣的同学,不要错过。Tutorial网站: ...
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 ....
+的错误在依赖的Android Gradle插件中替换了已弃用的api添加到项目该库已发布到jcenter和私有存储库https://dl.bintray.com/panpf/maven/ ,您可以自由选择将其下载到何处将以下依赖项添加到项目的build.gradle文件...
Error:Execution failed for task ':app:transformClassesWithDexForDebug'. > com.android.build.api.transform.TransformException: com.android.ide .common.process.ProcessException: org.gradle.process....
你会看到这样的错误信息: Generating locales... cannot change mode of new locale archive: No such file or directory en_US.UTF-8... failed Generation complete. Generating locales... cannot change ...