title: Fresh install of Eclipse, R cannot be resolved to a variable
body: <p>I have come across the "R cannot be resolved" error countless times but there has always been an easy fix. Sorry to trouble you but I'm stumped this time...</p>
  
  <p>I recently decided to dual boot my computer into Windows 7/Ubuntu (previously Windows 7 only) and load Eclipse for my Android app development, however I came across the infamous R cannot be resolved error.</p>
  
  <p>After a clean install of Ubuntu 12.10, I set up <a href="http://developer.android.com/sdk/installing/bundle.html" rel="noreferrer">Google's ADT Bundle</a> from the Android Developer website. I installed the Eclipse, SDK and ADB that were included in the package from the above download (ADT came pre-installed/setup). This is a special version of Eclipse provided by Google and includes the text "Android Developer Tools" when Eclipse is started.</p>
  
  <p>Eclipse runs Java Projects fine, the SDK Manager seems to be set up correctly because I can launch it directly from Eclipse (I have also installed all of Android SDKs 1.5-4.2), AVD Manager almost works correctly (it launches and allows me to create new devices but will not start with the message "PANIC: could not open: some_device"), however any Android project will not compile with the error "R cannot be resolved to a variable".</p>
  
  <p>I have tried using my existing Android projects from two of my old workspaces as well as creating a new workspace but they all resort to the same error.</p>
  
  <p>Any advice? I would really like to begin working in a Linux-based environment and have spent several hours trying to get this to work...</p>
  
  <p>I would highly appreciate anyone's ideas/advice/solutions/pity/etc.</p>
  
  <p>EDIT: I'm starting to think this problem is probably connected to my other error when launching an Android Virtual Device where it states "PANIC: could not open: some_device". Sadly I have no idea what's causing this nor how to fix it either...</p>