Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android : R class stopped getting generated

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?

like image 865
Leo Messi Avatar asked Feb 13 '26 06:02

Leo Messi


1 Answers

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. enter image description here

After installing this, clean your projects and rebuild.

like image 134
Krauxe Avatar answered Feb 15 '26 19:02

Krauxe



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!