尽管没有错误不能运行在Eclipse中的Andr​​oid项目 [英] Cannot run Android project in Eclipse despite no errors

查看:115
本文介绍了尽管没有错误不能运行在Eclipse中的Andr​​oid项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试运行我的Andr​​oid项目(这是昨天做工精细),我得到的对话框您的项目中包含错误,请运行应用程序之前解决这些问题。但我的项目有没有错误。我以前有这个问题,并解决总是要清洁项目,但这次它并没有帮助。红色的X图标从工作区项目的消失,然后又重新出现,当我尝试运行它。也重新启动Eclipse的,因此重建项目。帮助?

When I try to run my Android project(which was working fine yesterday) I get the "Your project contains errors, please fix them before running your application" dialog. But my project has no errors. I've had this problem before, and the solution was always to Clean the project, but this time it isn't helping. The red X icon disappears from the project in the workspace, then reappears when I try to run it. Also restarted Eclipse so it rebuilds the project. Help?

推荐答案

转到您的.android文件夹,删除调试证书。在我的电脑正是在这样的路径

Go to your .android folder and delete your debug certificate. In my computer it is in this path

E:\Users\blessan\.android

内,有一个文件名'debug.keystore'。删除,清洁,尝试重新构建项目。有时,当证书过期此错误引起的。

Inside that there is a file name 'debug.keystore'. Delete that,clean and try to build the project again. Sometimes this error is caused when the certificate expires.

这篇关于尽管没有错误不能运行在Eclipse中的Andr​​oid项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆