title: raw folder in Android
body: <p>I am trying to play sound effects in a application. Everywhere I look, I am being told to add a <em>raw</em> folder in the res directory(working in eclipse). </p>
  
  <p>First, I add the raw folder under res. Then I put my .wav files inside. When I try to use R.raw.filename in my code, I get an error "raw cannot be resolved". So I clean and rebuild the project. Suddenly, everywhere that I used R.id or R.anything is underlined as an error. When I looked up the error, it turns out that it had something to do with Android.R. Nothing I did could fix it. So I removed the raw folder and rebuilt the project. All of a sudden, everything is fine. </p>
  
  <p>I've repeated this process about 4 times and I have no idea why it's such a pain to add the raw folder. Can anyone tell me what I'm doing wrong?</p>