title: Android Studio - Resource Entry already defined
body: <p>After compiling my Android application using the Android Studio (Beta), I have the following error:</p>
  
  <pre><code>Error:error: Resource entry background is already defined.
  res\drawable-xhdpi-v4\background.9.png:0: Originally defined here.
  </code></pre>
  
  <p>This occurred when I had a image file called "background" in my res folder. </p>
  
  <p>I then made a 9 patch version of it and pasted it in the same folder. This meant that there was 2 files with the same name. So I unsurprisingly I had this error. </p>
  
  <p>However I now deleted all instances of the background image file (including the 9 patch version and original image) in my code and layout file and I still have this error. </p>