简体   繁体   English

android项目脚本中没有错误,但是没有执行

[英]android There are no error in project script but but no execute

Hello I am fresher in android. 您好,我在android方面比较新鲜。 but execute some project in eclipse. 但是在Eclipse中执行一些项目。 But today when I open eclipse then my old (Which I already run one day before) show error in left side panel of eclipse screen. 但是今天,当我打开eclipse时,我的旧屏幕(之前已经运行了一天)在Eclipse屏幕的左侧面板中显示了错误。 I thoroughly checked all script but there are no error. 我彻底检查了所有脚本,但没有错误。 but when I execute message shown 但是当我执行显示的消息时

YOUR PROJECT CONTAIN ERROR(S), PLEASE FIX THEM BEFORE RUNNING YOUR APPLICATION. 您的项目包含错误,请在运行您的应用程序之前修复它们。

Here is screen shoot of eclipse screen where error displayed 这是显示错误的日食屏幕截图

在此处输入图片说明

Please help me. 请帮我。

To check errors:- 要检查错误:-

Right Click on your project then go for Android Tools then Run Lint . 右键单击您的项目,然后选择Android Tools然后选择Run Lint Check your error in the Lint error checking window which will come below. 在下面的Lint错误检查窗口中检查您的错误。

This error might be due to Missing Translation . 此错误可能是由于Missing Translation

Try this:- 尝试这个:-

Go to Window->Preferences->Android->Lint Error Checking 转到窗口->首选项-> Android-> Lint错误检查

Find there Missing Translation and change its Severity to Warning . 在此处找到Missing Translation ,并将其Severity更改为“ Warning Press Apply and then OK . 应用 ,然后按确定

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM