的R.java文件没有得到生成 [英] R.java file not getting generated

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

问题描述

我无法在我的一半R.java问题内置Facebook应用程序。我选择了自动构建选项,我清理我的项目。我做了所有推荐的解决方案,以生成我R.java file.But仍然没有成功。我有2 R.java在我的根文件夹中。我已经把截图为了更好的理解。

I'm unable to the R.java problem in my half built Facebook app. I have selected the "Build automatically" option, I cleaned my project. I did all the recommended solutions to generate my R.java file.But still no success. I have 2 R.java in my "gen" folder. I have put a screenshot for better understanding.

所有的按钮,TextView的和imageviews不被认可。

all the buttons, textview and imageviews are not being recognized.

推荐答案

试试这个: 我也有类似的问题R.java没有发现错误它实际上不是如何产生的。

Try this: I have similar problem R.java not found error it is actually not getting generated

我做了几乎所有的东西都在说,在论坛中的各个链接

I did almost every thing which are said in the different links in the forum

我所做

1.I删除工作区项目,并重新导入,这样做的时候,项目上马就开始给我,即使我得到了正确的Andr​​oid SDK path.I的SDK未找到错误正在使用Eclispe的ADT之后就可以找到Android的网站本身。

1.I delete the project from the workspace and re import it,after doing that when the project launched it start giving me the SDK not found error even I was given the correct Android SDK path.I am using eclispe ADT which you can find from android site itself.

2。我不知道为什么ADT插件是显示它需要更新,甚至最新的ADT 21.1安装。我试图更新的话,我不知道如何从我的SDK工具文件夹之后被删除。它开始喊Tools文件夹不在SDK文件夹中找到。所以我需要重新下载SDK和更新ADT插件为21.1。

2.I don't know why ADT plugin was showing it needs to update even the latest ADT 21.1 is installed .I tried to updated that then ,i don't know how tools folder from my SDK get deleted after that .It start shouting tools folder not found in SDK folder .So I need to download the SDK again and update the ADT plugin to 21.1 .

3因此,我认为一段时间没有在ADT插件问题,因此保持正确更新或重新安装它会工作,如果没有别的工作。

3 So I think some time there is problem in ADT plugin ,So keep it update correctly or reinstall it will works if nothing else works .

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

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