在编译运行时,报出‘Your project contains errors,please fix them before running your application.’的提示框

group中有一段话:不妨试试。
Somethings I'll have an ?.xml file selected where I compile a project,only to have a ?.out.xml  generate d.Deleting the file doesn't clear the error,and Eclipse won't compile the project. I just reports that your project contains errors.

The solution is to go to Project/Clean. This will clear the error in the project and allow it to compile.

先Project/Clean,再Build。

还有可能是

原来我的电脑上默认的调试证书过期了,调试证书期限默认是1年,
找到原因很简单,重新生成证书就好了.
找到证书所在位置C:\Documents and Settings\Administrator\.Android\debug.keystore,
 
删除掉debug.keystore文件,adt就自动生成新的debug.keystore.


Ok解决

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值