I updated the ADT plugin to 22 API version.
After upgrading, my projects won't compile,
project'sgen
folder is also empty. project'ssrc
files also gives error. After installing latest Android build tools, projects gives an error. suggest me solutions.
Asked
Active
Viewed 368 times
-3

Mac
- 11
- 2
-
Check this answer: http://stackoverflow.com/questions/16604454/error-in-all-the-classes-files-r-cannot-be-resolved/16604608#comment23869049_16604608 – edoardotognoni May 22 '13 at 07:29
-
Re-open your SDK Manager and check if all packages are up to date. – Alexis C. May 22 '13 at 07:31
-
error : R can't be resolved error in source files – Mac May 22 '13 at 07:33
-
Check answer: http://stackoverflow.com/questions/16642604/eclipse-error-r-cannot-be-resolved-to-a-variable/16643060#16643060 – Paresh Mayani May 22 '13 at 07:35
-
Try: http://stackoverflow.com/a/16596990/115145 – CommonsWare May 22 '13 at 08:06
2 Answers
0
That's because you are missing the Build tools or probably you didn't update them. Open SDK manager and in the general section, make sure that Build Tools are up to date.

edoardotognoni
- 2,752
- 3
- 22
- 31
-
Redundancy is not allowed as you already have answered earlier with the same content. – Paresh Mayani May 22 '13 at 07:34
-
I posted it as an answer but I didn't see that it was putted automatically as a comment. – edoardotognoni May 22 '13 at 07:38
0
I had this problem too, after updating Eclipse and ADT. I don't know what the "proper" way is to resolve it, but I eventually resorted to completely removing Eclipse/ADT and doing a clean re-install using the latest ADT Bundle. Everything worked perfectly thereafter.

Workforce7
- 41
- 1
- 1
- 6