在导入一个app后提示如下错误:
“Error generating final archive:********************”
原因分析:
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)
删除后,重新运行程序即可。
分享到:
相关推荐
Android Studio在build的时候出现transformClassesWithDexForDebug Android Studio在build的时候出现以下问题: Error:Execution failed for task ':app:transformClassesWithDexForDebug'. > ...
Generating Artifacts问题三种解决办法
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 ...
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...
Secure Device 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...
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
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 ...
Generating Functionology
Generating Random Networks and Graphs By 作者: Ton Coolen – Alessia Annibale – Ekaterina Roberts ISBN-10 书号: 0198709897 ISBN-13 书号: 9780198709893 Edition 版本: 1 出版日期: 2017-05-23 pages 页数...
adv Generating a Map Application源码
adv Generating a Map Application 题目
错误: Problem Occurred Generating Artifacts(Time of error : November 8,2009 6:54:39 PM GMT+08:00) Reason: Could not get list of suggested identity strategies from database. Probably a JDBC driver ...
JavaPoet JavaPoet is a Java API for generating .java source files. Source file generation can be useful when doing things such as ...public final class HelloWorld { public static void main(String[]
大师Donald E. Knuth(汉名高德纳)的著作,计算机程序设计与艺术第四卷3册:生成所有组合和分划Generating All Combinations and Permutations(中英)
The idea of the App consists of receiving the input feedback audio signal and compare it with the output audio signal that the same Android device is generating. The App is capable to form the ...
Tom Copeland - Generating Parsers with JavaCC-Centennial Books (2009)
Generating keys 27 Signing a build for release 28 Customization 29 In this document 29 Boot Screen Customization 29 Network Customization Platform 30 Customizing pre-loaded applications 31 Customizing...
/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 ...
大师Donald E. Knuth(汉名高德纳)的著作,计算机程序设计与艺术第四卷2册:生成所有元组和排列Generating All Tuples and Permutations(中英)