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

原文链接: http://www.cnblogs.com/guoyongrong/p/3591507.html

文章来自于: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

猜你喜欢

转载自blog.csdn.net/weixin_30294295/article/details/94794618