title: String resource cannot be resolved or is not a field
body: <p>I am trying to write a simple earthquake viewer application, in which i am using USGS(US geological survey) feed to show the earthquakes information. i have declared the feed as "quake_feed" under string resources in values/strings.xml. Only error that i am getting in my code is "quake_feed cannot be resolved or is not a field". Can anyone tell me what is wrong with this? </p>
  
  <p>Here is a little snippet of my code:</p>
  
  <pre><code>public void refreshEarthquakes() 
      {
  
          URL url;
          try {
          String quakeFeed = getString(R.string.quake_feed);
  </code></pre>
  
  <p>and this is my strings.xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;resources&gt;
  &lt;string name="app_name"&gt;EarthquakeViewer&lt;/string&gt;
  &lt;string name="quake_feed"&gt;
  http://earthquake.usgs.gov/eqcenter/catalogs/1day-M2.5.xml
  &lt;/string&gt;
  &lt;/resources&gt;
  </code></pre>