" R不能解析到一个变量"? [英] "R cannot be resolved to a variable"?

查看:143
本文介绍了" R不能解析到一个变量"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Eclipse中,我创建了从源项目,现在它显示的错误 - R不能解析为一个变量。从我发现在这里,我已经清理和重建项目,但还是R档没有出现在/根文件夹。

In Eclipse, I've created a project from a source and now it shows errors - "R cannot be resolved to a variable". From what I found here, I had cleared and rebuilt the project, but still the R file doesn't appear in the /gen folder.

任何想法?

推荐答案

别担心。首先,你可以清理项目,然后运行该项目。如果不工作,然后按照下面的链接:

Dont worry. First you may clean the project, then run the project. If this does not work then follow the following links:

  • Here is the best way to solve this problem: Android Development- Where is my R.Java file?
  • R cannot be resolved - Android error
  • R cannot be resolved to a variable
  • R cannot be resolved to a variable -- mailing list entry
  • Fixed: R cannot be resolved to a variable

这篇关于" R不能解析到一个变量"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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