0

I have a workspace with several projects in it. For one of those projects I needed to upgrade the SDK to get the latest tools so I ran the installer_r22.0.1-windows.exe. The installer ran without incident and reported "Installation Complete. Setup was completed successfully"

Now none of the projects in the workspace build, including perfectly good ones that build fine before this and haven't been changed in months. In all of them the problem is the same: no gen folder is created, so hundreds of "R cannot be resolved to a variable" errors appear. There are no other errors reported.

I've restarted Eclipse. All my builds are preceded by a clean. How do I figure out what the problem is?

Thanks in advance!

user316117
  • 7,971
  • 20
  • 83
  • 158
  • http://stackoverflow.com/questions/16642604/eclipse-error-r-cannot-be-resolved-to-a-variable/16643060#16643060. try this – Raghunandan Jul 08 '13 at 15:01

1 Answers1

1

Update android-sdk, I think sdk need Android SDK Build-tools. For update it follow some steps-- Go to Window->Android SDK Manager. Update and Install all tools (Android SDK Tools, Android SDK Platform-tools,Android SDK Build-toolsenter image description here) which are in Tools folder.

Mukesh Kumar Singh
  • 4,512
  • 2
  • 22
  • 30