title: Android Manifest: Syntax error on Line 1
body: <p>I'm putting together my first android app and I've run into what I thought was a simple problem, but I can't find the solution anywhere. When I try to run the code in the emulator I get:</p>
  
  <pre><code>AndroidManifest.xml: line 1: syntax error near unexpected token `newline'
  AndroidManifest.xml: line 1: `&lt;?xml version="1.0" encoding="utf-8"?&gt;'
  </code></pre>
  
  <p>Here's the first two lines of my manifest:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
  </code></pre>
  
  <p>The manifest syntax looks to be completely correct to me. I'm using Eclipse on OSX, if that matters. The only related question I could find is: 
  <a href="https://stackoverflow.com/questions/4823065/android-layoutopt-error-syntax-error-near-unexpected-token-newline">Android: layoutopt error - syntax error near unexpected token `newline&#39;</a></p>
  
  <p>But there's no answer there, just saying that's a bug and needs to be reported. Is it still a bug?</p>
  
  <p>EDIT: Here's the entire AndroidManifest.xml file.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="onemorepallet.app"
        android:versionCode="1"
        android:versionName="1.0"&gt;
      &lt;uses-sdk android:minSdkVersion="13" /&gt;
      &lt;application android:icon="@drawable/icon" android:label="@string/app_name"&gt;
          &lt;activity android:name=".OnemorepalletActivity"
                    android:label="@string/app_name"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
  
      &lt;/application&gt;
  &lt;/manifest&gt;
  </code></pre>