问题解决:Your project contains errors,please fix them before running your application.
今天中午一打开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!
分享到:
相关推荐
cfg_errors.gocfg_errors.gocfg_errors.gocfg_errors.gocfg_errors.gocfg_errors.gocfg_errors.gocfg_errors.gocfg_errors.gocfg_errors.go
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) ...
java.lang.RuntimeException: java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.RecordTooLargeException: The request included a message larger than the max message size the server ...
8)....Fixed: Silently ignore and fix invalid values in project options EurekaLog 7.2 Hotfix 2 (7.2.2.0), 30-April-2015 1)....Fixed: Confusing message in Manage tool when using with Trial/Pro 2).......
2.3.13 Cover your Bugfix with a Regression Test . . . . . 13 2.4 Build a Good Toolkit . . . . . . . . . . . . 14 2.4.1 Your Workshop . . . . . . . . . 15 2.4.2 Running Tests Every Day Keeps the Bugs ...
英文单词拼写混淆集:spell-errors.txt
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 ...
- **Credit Card Validation**: `errors.creditcard={0} not a valid credit card` - 验证信用卡号的有效性。 - **Email Validation**: `errors.email={0} not a valid e-mail address` - 检查电子邮件地址格式...
oracle8i_errors.chm
libevent是2.1.8版本里面的test文件夹缺少print-winsock-errors.c,使得编译会出错
Correct Your English Errors(2nd) 英文epub 第2版 本资源转载自网络,如有侵权,请联系上传者或csdn删除
The main function of this programme is to check the possible errors under the DirectX, especially the 0xc000007b problems, and then fix them. This programme consists of the latest version of DirectX ...
在IT领域,遇到诸如“Multiple operations have reported errors”这样的错误信息是常见的问题,尤其是在使用复杂的集成开发环境(IDE)如MyEclipse时。这一错误通常表明在执行多个操作的过程中,有若干步骤未能顺利...
Manually install the ocx file * Please read our disclaimer before installing. 1. Download the file MSCAL.OCX to your desktop. 2. Move the ocx file to the program directory missing the file. 3. If ...
拼写纠错配套资源:该文件记录了很多用户写错的单词和对应正确的单词,可以通过该文件确定每个正确的单词所对应的错误拼写方式,并计算出每个错误拼写方式出现的概率
list (contains flex-objects with Parent = Nil and the owner = Owner). - FIX: In BCB a problem occurred with TFlexText.DrawText, which for some reason kept being renamed by linker to DrawTextA. For ...
Running the executable under GDB . . . . . . . . . . . . . . . . . . . . . . Stepping to the next line in the source program . . . . . . . . . . . . Stepping into a subroutine . . . . . . . . . . . . ...