在编译运行时,报出‘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解决

你可能感兴趣的:(eclipse,c,File,Build,Go)