<i id='9WkFF'><tr id='9WkFF'><dt id='9WkFF'><q id='9WkFF'><span id='9WkFF'><b id='9WkFF'><form id='9WkFF'><ins id='9WkFF'></ins><ul id='9WkFF'></ul><sub id='9WkFF'></sub></form><legend id='9WkFF'></legend><bdo id='9WkFF'><pre id='9WkFF'><center id='9WkFF'></center></pre></bdo></b><th id='9WkFF'></th></span></q></dt></tr></i><div id='9WkFF'><tfoot id='9WkFF'></tfoot><dl id='9WkFF'><fieldset id='9WkFF'></fieldset></dl></div>
<legend id='9WkFF'><style id='9WkFF'><dir id='9WkFF'><q id='9WkFF'></q></dir></style></legend>
    1. <tfoot id='9WkFF'></tfoot>
      1. <small id='9WkFF'></small><noframes id='9WkFF'>

          <bdo id='9WkFF'></bdo><ul id='9WkFF'></ul>
      2. Android ADT 版本 22,未生成 R.java 文件

        Android ADT version 22, R.java files not generated(Android ADT 版本 22,未生成 R.java 文件)

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

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

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

                  本文介绍了Android ADT 版本 22,未生成 R.java 文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  升级到 Android ADT 版本 22 并清理我的项目后,R.java 文件丢失了.我不能使用 setViewContent(R.layout.activity_main) 因为活动不能引用 xml 布局(由于缺少 R.java).另外,当使用 (ctrl + space) 获取 setContentView 的建议时,没有输入代码.查看错误日志后,显示存在未处理的事件循环异常".涉及的插件是org.eclipse.ui.

                  After upgrading to Android ADT version 22 and cleaning my project, the R.java files went missing. I can't use setViewContent(R.layout.activity_main) because the activity cannot reference to the xml layout (due to the missing R.java). Also, when using the (ctrl + space) to get suggestions for setContentView, the code is not typed in. Upon looking at the error log, it shows that there was an "Unhandled event loop exception". The plug-in involved is the org.eclipse.ui.

                  另外,每当我创建一个新的 Hello World 项目时,gen 文件夹都是空的.几个小时后,我尝试了android studio.但我不喜欢那里.然后,当我回到 Eclipse 时,SDK 平台工具和构建工具有了更新.我更新了它们,但仍然出现错误.

                  Also, whenever I create a new Hello World project, the gen folder is empty. After a few hours, I tried the android studio. But I didn't like it there. Then, when I went back to Eclipse, there was an update for SDK platform tools and build tools. I updated them but I still get the errors.

                  我尝试清理项目但没有运气.似乎是什么问题?

                  I tried cleaning the project but no luck. What seems to be the problem?

                  推荐答案

                  我也遇到了同样的问题,刚刚解决了.

                  I had the same problem just solved it.

                  检查:Java/Eclipse - 不再有 R 文件

                  更多信息:https://groups.google.com/forum/?fromgroups=#!topic/android-developers/rCaeT3qckoE%5B1-25-false%5D

                  这篇关于Android ADT 版本 22,未生成 R.java 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Cannot load 64-bit SWT libraries on 32-bit JVM ( replacing SWT file )(无法在 32 位 JVM 上加载 64 位 SWT 库(替换 SWT 文件))
                  How can I specify the default JVM arguments for programs I run from eclipse?(如何为从 Eclipse 运行的程序指定默认 JVM 参数?)
                  Class JavaLaunchHelper is implemented in both ... libinstrument.dylib. One of the two will be used. Which one is undefined(JavaLaunchHelper 类在... libinstrument.dylib 中都实现了.将使用两者之一.哪个是未定义的) - IT屋-程序员软件开发技术分享
                  Android Studio Gradle project quot;Unable to start the daemon process /initialization of VMquot;(Android Studio Gradle 项目“无法启动守护进程/VM 的初始化)
                  AsyncTasks do not get collected causing other AsyncTasks to not run(未收集 AsyncTask 导致其他 AsyncTask 无法运行)
                  Android Studio error: quot;Environment variable does not point to a valid JVM installationquot;(Android Studio 错误:“环境变量未指向有效的 JVM 安装)

                      <tfoot id='z4Qa6'></tfoot>
                        • <bdo id='z4Qa6'></bdo><ul id='z4Qa6'></ul>

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

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

                        • <legend id='z4Qa6'><style id='z4Qa6'><dir id='z4Qa6'><q id='z4Qa6'></q></dir></style></legend>
                              <tbody id='z4Qa6'></tbody>