title: Run sonar on android project: The class 'foo.bar.R$string' could not be matched to its original source file
body: <p>When I run sonar analysis of my android project, I always get lots of messages about .class files generated by Android resource compilation like following</p>
  
  <blockquote>
    <p>Run sonar: The class 'foo.bar.R$string' could not be matched to its
    original source file. It might be a dynamically generated class.</p>
  </blockquote>
  
  <p>I guess these messages come from Findbugs.</p>
  
  <p>I have tried to exclude <code>**/R.class</code> <code>**/R$*.class</code> from sonar analysis, but no luck.</p>
  
  <p>Any ideas on how to get rid of such messages?</p>