R.java文件消失 [英] Disappearance of R.java file

查看:57
本文介绍了R.java文件消失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在做一个android项目,我按了project-> eclipse中的clean,我的R.java源文件消失了.有人知道原因吗

I was working on an android project and i pressed project->clean in eclipse and my R.java source file disappeared.Would anyone know the reason why

推荐答案

转到项目"菜单,然后选择自动构建"选项.在您的情况下,可能未选中"此选项.这就是清理项目Eclipse时不再创建R.java的原因.

Go to the Project Menu and select the option "Build Automatically". Probably this option was not "ticked" in your case. This is the reason when you clean your project eclipse hasn't created R.java again.

这篇关于R.java文件消失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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