Android:R类停止生成 [英] Android : R class stopped getting generated

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

问题描述

我是Android编程的新手,我正在从Commsware教程中做教程,以精确的T3教程,在此期间我清理了该项目。之后R类文件已停止生成。



我删除了这个项目,看起来就像传播给我正在创建的其他新项目一样的错误。



这个错误是为新创建的项目我也尝试过stackoverflow中的所有解决方案:清理项目,在构建路径中选择Android版本,删除我的工作区,新安装eclipse等。



另一个恐吓的事情是我的res文件夹不显示任何错误,我的xml文件不包含任何大写字母。



它必须是一些愚蠢的错误导致这个?

解决方案

也许你应该看看 ,如果您最近更新了SDK工具。



更新到SDK Tools以进行更新。 22第一次,您可能需要重新启动Android SDK Manager并安装新的项目: Android SDK构建工具



之后安装它,清理您的项目并重建。


I am a newbie to android programming .I was doing tutorial from Commsware tutorial , to be precise T3 tutorial during which I cleaned the project.After that R class file has stopped generating.

I deleted that project,looks like the same error is getting propagated to other new projects I am creating.

This error is coming for the newly created project also.

I tried all the solutions in stackoverflow like : cleaning project,selecting android version in build path , deleting my workspace,freshly install eclipse etc..

The other intimidating thing is my res folder does not show any errors and my xml file does not contain any capital letters.

It must be some silly error which is causing this?

解决方案

Perhaps you should take a look at this if you've recently updated SDK 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.

这篇关于Android:R类停止生成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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