title: Proguard obfuscating a call to a String resource
body: <p>When I obfuscate my code with Proguard, I have a line of code as follows:</p>
  
  <p><code>String aString = getResources().getString(R.string.foo);
  </code></p>
  
  <p>Even though I set my proguard configuration file to keep the R class an all its inner classes (and they're been kept), it obfuscates that line making foo a static field of a random renamed <strong>n</strong> class. </p>
  
  <p>How can I make it not to make this specific change and inline the referred string at that point? Or reference the string by the id for that matter.</p>