The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

Android: “R cannot be resolved to a variable” What is R? Why is it so Cryptic? (via: Stack Overflow)

Posted by jpluimers on 2014/04/03

If I ever get “R cannot be resolved to a variable” in an Android project again, then I should read these posts:

One of the quotes was the culprit:

*Note: Eclipse sometimes likes to add an “import android.R” statement at the top of your files that use resources, especially when you ask Eclipse to sort or otherwise manage imports. This will cause your make to break. Look out for these erroneous import statements and delete them.*

–jeroen

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.