title: Error: Content is not allowed in prolog - colors.xml
body: <p>I get this error "Error: Content is not allowed in prolog" in colors.xml everytime when I create a new project in Android Studio. </p>
  
  <p>My auto generated colors.xml : </p>
  
  <pre><code>/* AUTO-GENERATED FILE.  DO NOT MODIFY.** This class was automatically 
  generated by the* gradle plugin from the resource data it found. It* should not 
  be modified by hand.*/package android.ar
  </code></pre>
  
  <p>When I resolve this error by manually writing the correct code in colors.xml, this error comes : </p>
  
  <pre><code>Android resource compilation failed
  Output:  C:\Users\Lenovo\AndroidStudioProjects\WhatstheWhether\app\src\main\res\mipmap-anydpi-v26\ic_launcher_round.xml:1: error: not well-formed (invalid token).
  
  Command: C:\Users\Lenovo\.gradle\caches\transforms-1\files-1.1\aapt2-3.2.1-4818971-windows.jar\3fe9903feff1f1df45dbb24febdc7fc3\aapt2-3.2.1-4818971-windows\aapt2.exe compile --legacy \
      -o \
  C:\Users\Lenovo\AndroidStudioProjects\WhatstheWhether\app\build\intermediates\res\merged\debug \
      C:\Users\Lenovo\AndroidStudioProjects\WhatstheWhether\app\src\main\res\mipmap-anydpi-v26\ic_launcher_round.xml
  Daemon:  AAPT2 aapt2-3.2.1-4818971-windows Daemon #0
  </code></pre>
  
  <p>anydpi-v26\ic_launcher_round.xml :</p>
  
  <pre><code>/* AUTO-GENERATED FILE.  DO NOT MODIFY.** This class was automatically generated by the* gradle plugin from the resource data it found. It* should not be modified by hand.*/package android.support.localbroadcastmanager;
  
  public final class R {pr
  </code></pre>
  
  <p>After resloving this , this error comes : </p>
  
  <pre><code>Android resource compilation failed
   Output: C:\Users\Lenovo\AndroidStudioProjects\WhatstheWhether\app\src\main\res\mipmap-anydpi-v26\ic_launcher.xml:1: error: not well-formed (invalid token).
  
   Command: C:\Users\Lenovo\.gradle\caches\transforms-1\files-1.1\aapt2-3.2.1-4818971-windows.jar\3fe9903feff1f1df45dbb24febdc7fc3\aapt2-3.2.1-4818971-windows\aapt2.exe compile --legacy \
      -o \
      C:\Users\Lenovo\AndroidStudioProjects\WhatstheWhether\app\build\intermediates\res\merged\debug \
      C:\Users\Lenovo\AndroidStudioProjects\WhatstheWhether\app\src\main\res\mipmap-anydpi-v26\ic_launcher.xml
      Daemon:  AAPT2 aapt2-3.2.1-4818971-windows Daemon #0
  </code></pre>
  
  <p>After resolving this error, same error comes in ic_launcher_foreground.xml and ic_launcher_background.xml . After resolving all these errors when I run my project , another error comes - <strong>Error running 'app': Default Activity not found</strong> . So after editing configurations , my app runs fine but I have to follow this whole procedure in every new project. Please help.</p>