天中午一打开eclipse要准备学习android,原来的项目突然全带有红色叉叉了。但是其中的项目的文件却没有错误,匪夷所思!
然后我再运行一下吧~提示如下错误:
到底是什么原因呢?然后我去百度一下:网友们针对这个问题给出了多种解决方法:
1、有可能是无法读取r.class,删除R.java文件,刷新
2、clean整个项目,重新再编译一下。
以上方式我都试过了,却无法成功了。
于是乎我打开windows---show view----problems
看到了如下的:
Error generating final archive: Debug Certificateexpired on 11-3-4 下午1:40
这句话的意思就是无法生成最终的文档apk。Debug验证已经过期了~~囧囧
想想我第一次接触android的时候已经有一年了吧。android要求所有的程序必须有签名,否则就不会安装该程序。在我们开发过程中,adt使用debug keystore,在 preference->android->buid中设置。
找到Default debug Keystore的地址,然后把debug.keystore文件给删除了。
debug的keystore默认有效期为一年,如果你是从一年前开始开发 android程序,那么很可能出现debug keystore过期,导致你无法生成 apk文件。我调了一下系统时间,就出现以下错误。此时你只要删除debug keystore就行,系统又会为你生成有效期为一年的私钥。
最后在clean项目,编译ok!
Error generating final archive: Debug Certificate expired on 11-3-4 下午1:40的问题也差不多解决了!
参考android开发官网:http://developer.android.com/guide/publishing/app-signing.html
- 大小: 230.4 KB
分享到:
相关推荐
Correct Your English Errors(2nd) 英文epub 第2版 本资源转载自网络,如有侵权,请联系上传者或csdn删除
Please choose the most appropiate newsgroup for your question. Do not cross post to them all. Before posting to the newsgroups, I suggest you try to search for an answer on the Google (DejaNews) ...
Dubbo 是一款高性能、轻量级的开源Java RPC框架,由阿里巴巴公司开发并维护,它主要解决了企业服务治理的问题,提供了服务注册、服务发现、负载均衡、调用链跟踪等核心功能。在分布式系统中,Dubbo扮演着关键角色,...
cfg_errors.gocfg_errors.gocfg_errors.gocfg_errors.gocfg_errors.gocfg_errors.gocfg_errors.gocfg_errors.gocfg_errors.gocfg_errors.go
Find and fix errors in Unity with Odin Validator, the most powerful validation tool ever made for Unity. Odin Validator scans your project for issues and helps you fix them as they happen.
A project model for the FreeBSD Project Niklas Saers Copyright © 2002-2005 Niklas Saers [ Split HTML / Single HTML ] Table of Contents Foreword 1 Overview 2 Definitions 2.1. Activity 2.2. Process ...
可以解决以下DLL文件错误:shell32.dll msvcr80.dll xvidcore.dll kernel32.dll user32.dll mss32.dll msvcr71.dll http.dll mapi32.dll ntdll.dll setup.dll mshtml.dll msvcrt.dll gdiplus.dll 32.dll
在使用PHPMyAdmin时,有时会遇到一个棘手的错误提示:“Cannot start session without errors”。这个错误信息表明,PHP在尝试启动一个新的会话时遇到了问题,可能是由于配置不当或者权限问题导致的。以下是一些详细...
Please feel free to send comments on typographical, formatting, or other errors. Simply make a copy of the relevant page of the book, mark the error, and send it to: Book Editor, PMI Publications, ...
3. Name your project with same name that your application will be 4. Create your applications main sourcefile (<projectname>.emp) 5. Create a new External Tool - Change the name to EMP (for example...
dubbo找不到dubbo.xsd报错, cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'dubbo:application'. - schema_reference.4: Failed to read schema document...
Please read this before doing ANYTHING Yes, this may not work out of the box for everyone. Please note, if you are experienced with compiling things and using package managers, this will be an easy ...
learning representations by back-propagating errors
This will create a configuration file named `gcc-win32.gsl` (or similar, depending on your platform), which contains the necessary settings for PC-lint Plus to understand your compiler. Step 2 - ...
Using appropriate data structures and having a good understanding of algorithm analysis are key in JavaScript to solving crises and ensuring your application is less prone to errors. Do you want to ...
- **Before Start Date**: `error.startdate.isBfStart=Effective end date is before Effective Start Date. Please re-enter.` ### 用户界面元素 #### 常用标签 - **Query**: `label.query=ѯ` - 查询操作。 -...
Spending most of your time babysitting team members by constantly checking on them Asking to cut lo percent off the estimate Thinking a bar (Gantt) chart is a project management plan Not attempting to...
Spotless: Keep your ...Ideally, a code formatter can do more than just find formatting errors - it should fix them as well. Such a formatter is really just a Function, which returns a formatted versio