title: Files under the build folder are generated and should not be edited, cannot re-build android project
body: <p>I was programming an Android application when suddenly it was unable to resolve symbol R in my MainActivity. I have had this issue before and it is usually fixed by going to tools-&gt;android-&gt;syncProjectWithGradleFiles but this did not work. Instead when I attempt to do this it takes me to my AndroidManifest.xml file and gives me the message: &quot;Files under the build folder are generated and should not be edited&quot; shown below<img src="https://i.stack.imgur.com/YEaAG.png" alt="enter image description here" />
  Furthermore, these errors are displayed below:</p>
  <p><img src="https://i.stack.imgur.com/nlHKY.png" alt="enter image description here" />
  These errors specify that: No resource found that matches the given name (at 'icon' with value '@drawable/icon'). which is part of a service I recently tried to add. So I tried deleting the service text here; however whenever I delete the service text, it keeps being re-added to the .xml file whenever I attempt to sync the projects with gradle files again. I have re-built the project and cleaned the project both returning the same errors... Can anyone help me fix this?</p>