title: Manually changed package names causes ProcessException
body: <p>I lost the Google Play Keystore (of only Android Studio file browser put removed file into the Recycle Bin rather than removing them completely)... so I tried to upload the app as a new app. But first I must change the package names.</p>
  
  <p>I search (find path) for all instances of the full package name, and replaced all with the new package name. I've also used Rebuild Project and Clear Project several times.</p>
  
  <p>Issues that appeared now are:</p>
  
  <pre><code>Cannot resolve symbol 'R'
  </code></pre>
  
  <p>And if I try to run or generate an APK, the following error is thrown:</p>
  
  <pre><code>Error:Execution failed for task ':app:processDebugResources'.
  &gt; com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'D:\Program Files\Android\sdk\build-tools\20.0.0\aapt.exe'' finished with non-zero exit value 1
  </code></pre>
  
  <p>Every instance of old.package.name is changed to new.package.name, including folders (main/java/) and AndroidManifest.xml</p>
  
  <p>If someone has experience this before and maybe have ideas to solve it.<br>
  I can also provide more information when needed.</p>