title: AndroidManifest.xml The markup in the document following the root element must be well formed
body: <p>I have got Eclipse to generate a Basic android Hello World app, But it has 2 errors: first, in my AndroidManifest.xml on these two lines:<br>
   
  I get The markup in the document following the root element must be well formed, Also My R.java Will not generate, no matter how many times I clean my project. Any Answers?</p>
  
  <p>the manifest is here: <a href="http://jsfiddle.net/NHDU6/" rel="nofollow">http://jsfiddle.net/NHDU6/</a></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.jfkingsley.maclogin"
      android:versionCode="1"
      android:versionName="1.0" &gt;
  
      &lt;uses-sdk
          android:minSdkVersion="14"
          android:targetSdkVersion="15" /&gt;
  
      &lt;application
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name"
          android:theme="@style/AppTheme" &gt;
          &lt;activity
              android:name=".MainActivity"
              android:label="@string/title_activity_main" &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;
  
  
  &lt;!--
       Declare the contents of this Android application.  The namespace
       attribute brings in the Android platform namespace, and the package
       supplies a unique name for the application.  When writing your
       own application, the package name must be changed from "com.example.*"
       to come from a domain that you own or have control over.
  --&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.jfkingsley.maclogin" &gt;
  
      &lt;uses-permission android:name="android.permission.CALL_PHONE" /&gt;
      &lt;uses-permission android:name="android.permission.GET_TASKS" /&gt;
      &lt;uses-permission android:name="android.permission.READ_CONTACTS" /&gt;
      &lt;uses-permission android:name="android.permission.SET_WALLPAPER" /&gt;
      &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
      &lt;uses-permission android:name="android.permission.EXPAND_STATUS_BAR" /&gt;
  
      &lt;application
          android:icon="@drawable/ic_launcher_home"
          android:label="@string/home_title" &gt;
          &lt;activity
              android:name="Home"
              android:launchMode="singleInstance"
              android:stateNotNeeded="true"
              android:theme="@style/Theme" &gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
  
                  &lt;category android:name="android.intent.category.HOME" /&gt;
                  &lt;category android:name="android.intent.category.DEFAULT" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
          &lt;activity
              android:name="Wallpaper"
              android:icon="@drawable/bg_android_icon"
              android:label="Wallpaper" &gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.SET_WALLPAPER" /&gt;
  
                  &lt;category android:name="android.intent.category.DEFAULT" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>Thanks, Jonathan</p>