android应用开发异常:Your project contains error(s),please fix them before running your application

android应用开发错误:Your project contains error(s),please fix them before running your application.

工程上有红叉,不知道少了什么,但是袋中却没有任何错误,运行程序报错为: Your project contains error(s),please fix them before running your application.

试过了clean;也试过了delete工程,再重新导入,但是都没有用。

偶然找到解决方法:

linux:Window--》 Preferences--》Android--》Build中Default debug keystore显示了地址“/home/jinli/.android/debug.keystore”,删除此路径下的debug.keystore 及 ddms.cfg

Window XP:进入:C:\Documents and Settings\Administrator\.android (Win7在C:\Users\ly\.android)
删除:debug.keystore及 ddms.cfg


然后就好了。希望对大家有所帮助!