转:解决方案your project contains error s please fix them before running your application

文章来自于:http://www.mythroad.net/2013/08/05/%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88your-project-contains-error-s-please-fix-them-before-running-your-application/

 

今天上午一打开eclipse编译工程,忽然爆出 “your project contains error s please fix them before running your application” 奇怪工程没有任何更改,昨天还好好的怎么会出错?!以为是Eclipse出现了“诡异”bug,关闭,重启了Eclipse,问题依旧;Refresh,Clean一把,问题依旧;

出现这种问题重来没有统一的解决方案,但是有一点是不变的,你可以按照如下方法来做:

打开windows---show view----problems  看具体你遇到的 problem

我这边的问题如下:

Error generating final archive: Debug Certificateexpired on 13-8-4 下午2:40

key.store已经过期,无法对Debug的APK做签名

Debug的默认KeyStore有效期是一年,你可以做如下的操作:

preference->android->buid中看到keyStore的路径,然后删除对应的keystore文件,这样Eclipse会生成一个新的有效期一年的keystore为您DEBUG使用。

转载于:https://www.cnblogs.com/guoyongrong/p/3591507.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值