<small id='o8O9T'></small><noframes id='o8O9T'>

    <i id='o8O9T'><tr id='o8O9T'><dt id='o8O9T'><q id='o8O9T'><span id='o8O9T'><b id='o8O9T'><form id='o8O9T'><ins id='o8O9T'></ins><ul id='o8O9T'></ul><sub id='o8O9T'></sub></form><legend id='o8O9T'></legend><bdo id='o8O9T'><pre id='o8O9T'><center id='o8O9T'></center></pre></bdo></b><th id='o8O9T'></th></span></q></dt></tr></i><div id='o8O9T'><tfoot id='o8O9T'></tfoot><dl id='o8O9T'><fieldset id='o8O9T'></fieldset></dl></div>

    • <bdo id='o8O9T'></bdo><ul id='o8O9T'></ul>

    <tfoot id='o8O9T'></tfoot>
  1. <legend id='o8O9T'><style id='o8O9T'><dir id='o8O9T'><q id='o8O9T'></q></dir></style></legend>

    1. Eclipse 给出错误,最近更新后缺少 R.java 文件

      时间:2023-08-23

      <legend id='tn0p2'><style id='tn0p2'><dir id='tn0p2'><q id='tn0p2'></q></dir></style></legend>
      <i id='tn0p2'><tr id='tn0p2'><dt id='tn0p2'><q id='tn0p2'><span id='tn0p2'><b id='tn0p2'><form id='tn0p2'><ins id='tn0p2'></ins><ul id='tn0p2'></ul><sub id='tn0p2'></sub></form><legend id='tn0p2'></legend><bdo id='tn0p2'><pre id='tn0p2'><center id='tn0p2'></center></pre></bdo></b><th id='tn0p2'></th></span></q></dt></tr></i><div id='tn0p2'><tfoot id='tn0p2'></tfoot><dl id='tn0p2'><fieldset id='tn0p2'></fieldset></dl></div>
      • <bdo id='tn0p2'></bdo><ul id='tn0p2'></ul>

            <small id='tn0p2'></small><noframes id='tn0p2'>

              <tbody id='tn0p2'></tbody>
            • <tfoot id='tn0p2'></tfoot>

                本文介绍了Eclipse 给出错误,最近更新后缺少 R.java 文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我已将我的 SDKADT 更新到最新版本,我还将 Eclipse 更新为 Kepler Juno 之后的最新版本.

                I have updated my SDK and ADT to the latest version, I have also update the Eclipse to Kepler the latest one after Juno.

                我的 ADT 版本是 22.0.在此更新之后,当我创建一个新项目时,我收到错误,指出 R 无法解析为变量.我已导入 import android.R;,但它显示为未使用的导入说明 Don't include android.R here;而是为每个用法使用一个完全限定的名称.

                My ADT version is 22.0. After this update when I create a new project, I'm getting error, stating R cannot be resolved to a variable. I have imported import android.R;, but it is showing as unused import stating Don't include android.R here; use a fully qualified name for each usage instead.

                最新更新的 Mac OS 也发生了同样的事情.我尝试将 activity_main.xml 重命名为其他名称,但仍然没有生成我的 R.java.

                Same thing is happening with Mac OS also with the latest update. I have tried renaming activity_main.xml to other name, but still my R.java is not generated.

                尝试了所有可能的事情.清理项目,构建整个工作区.没有任何帮助.

                Tried all the things which are possible. Cleaned the project, build the whole workspace. Nothing helping.

                我认为更新后ADTEclipse兼容性有问题.

                I think ADT or Eclipse compatibility is having problem after the update.

                我已经更新了我的整个 SDK,这是屏幕截图,但同样的问题存在.

                I have updated my whole SDK, here is the screenshot, but same problem is there.

                推荐答案

                更新到 SDK Tools 到 rev.22 第一次,您可能需要重新启动 Android SDK Manager 并安装一个新项目:Android SDK Build-tools.

                After updating to SDK Tools to rev. 22 for the first time, you may need to relaunch Android SDK Manager again and install a new item: Android SDK Build-tools.

                安装后,清理您的项目并重建.

                After installing this, clean your projects and rebuild.

                这篇关于Eclipse 给出错误,最近更新后缺少 R.java 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                上一篇:为什么java中默认不启用assert 下一篇:Eclipse 中的 Maven:分步安装

                相关文章

                1. <legend id='Ybd5F'><style id='Ybd5F'><dir id='Ybd5F'><q id='Ybd5F'></q></dir></style></legend>

                    <i id='Ybd5F'><tr id='Ybd5F'><dt id='Ybd5F'><q id='Ybd5F'><span id='Ybd5F'><b id='Ybd5F'><form id='Ybd5F'><ins id='Ybd5F'></ins><ul id='Ybd5F'></ul><sub id='Ybd5F'></sub></form><legend id='Ybd5F'></legend><bdo id='Ybd5F'><pre id='Ybd5F'><center id='Ybd5F'></center></pre></bdo></b><th id='Ybd5F'></th></span></q></dt></tr></i><div id='Ybd5F'><tfoot id='Ybd5F'></tfoot><dl id='Ybd5F'><fieldset id='Ybd5F'></fieldset></dl></div>

                    <small id='Ybd5F'></small><noframes id='Ybd5F'>

                  1. <tfoot id='Ybd5F'></tfoot>

                      <bdo id='Ybd5F'></bdo><ul id='Ybd5F'></ul>