Note that there are some explanatory texts on larger screens.

plurals
  1. POAndroidManifest.xml: The markup in the document preceding the root element must be well-formed
    primarykey
    data
    text
    <p>I'm unable to sort out the problem.I have two manifest tags in xml. I am getting the Following error:</p> <blockquote> <p><strong>AndroidManifest.xml: The markup in the document preceding the root element must be well-formed.</strong></p> </blockquote> <p>I have searched for the error and got a solution that there are two manifest tag in code.If it is due to 2 manifest tag which should i comment?OR its due to something else?</p> <p>Here is my androidmanifest.xml</p> <pre><code>&lt;&lt;&lt;&lt;&lt;&lt;&lt; Original &lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="com.github.andlyticsproject" android:installLocation="auto" android:versionCode="217" android:versionName="2.2.3" &gt; &lt;uses-permission android:name="android.permission.INTERNET" /&gt; &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt; &lt;uses-permission android:name="android.permission.GET_ACCOUNTS" /&gt; &lt;uses-permission android:name="android.permission.USE_CREDENTIALS" /&gt; &lt;uses-permission android:name="android.permission.MANAGE_ACCOUNTS" /&gt; &lt;uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" /&gt; &lt;uses-permission android:name="android.permission.READ_SYNC_SETTINGS" /&gt; &lt;uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" /&gt; &lt;uses-permission android:name="android.permission.READ_SYNC_STATS" /&gt; &lt;uses-permission android:name="android.permission.WRITE_SYNC_STATS" /&gt; &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt; &lt;uses-permission android:name="android.permission.VIBRATE" /&gt; &lt;uses-sdk android:minSdkVersion="7" android:targetSdkVersion="16" /&gt; &lt;application android:name="AndlyticsApp" android:allowBackup="true" android:icon="@drawable/icon" android:label="@string/app_name" android:theme="@style/Theme.Andlytics" &gt; &lt;activity android:name=".LoginActivity" 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;activity android:name=".Main" android:label="@string/app_name" android:uiOptions="splitActionBarWhenNarrow" &gt; &lt;/activity&gt; &lt;activity android:name=".CommentsActivity" android:label="@string/comments" &gt; &lt;/activity&gt; &lt;activity android:name=".ChartActivity" android:label="@string/app_name" &gt; &lt;/activity&gt; &lt;activity android:name=".AdmobActivity" android:label="@string/app_name_admob" &gt; &lt;/activity&gt; &lt;activity android:name=".AdmobAuthenticatorActivity" android:excludeFromRecents="true" android:label="@string/app_name_admob" android:theme="@android:style/Theme.Dialog" /&gt; &lt;activity android:name=".PreferenceActivity" android:label="@string/preferences" &gt; &lt;/activity&gt; &lt;activity android:name=".NotificationPreferenceActivity" android:label="@string/notifications" &gt; &lt;/activity&gt; &lt;activity android:name=".AccountSpecificPreferenceActivity" android:label="@string/notifications" &gt; &lt;/activity&gt; &lt;activity android:name=".ImportActivity" android:label="@string/statistics_import" tools:ignore="ExportedActivity" &gt; &lt;intent-filter&gt; &lt;action android:name="android.intent.action.VIEW" /&gt; &lt;category android:name="android.intent.category.DEFAULT" /&gt; &lt;data android:host="*" android:mimeType="application/zip" android:pathPattern="andlytics\\.zip" android:scheme="file" /&gt; &lt;/intent-filter&gt; &lt;!-- intent-filter android:priority="-100" --&gt; &lt;intent-filter&gt; &lt;action android:name="android.intent.action.VIEW" /&gt; &lt;category android:name="android.intent.category.DEFAULT" /&gt; &lt;data android:mimeType="application/zip" android:scheme="file" /&gt; &lt;/intent-filter&gt; &lt;/activity&gt; &lt;activity android:name=".ExportActivity" android:label="@string/statistics_export" &gt; &lt;/activity&gt; &lt;service android:name=".sync.SyncAdapterService" android:exported="false" android:process=":andlytics" &gt; &lt;intent-filter&gt; &lt;action android:name="android.content.SyncAdapter" /&gt; &lt;/intent-filter&gt; &lt;meta-data android:name="android.content.SyncAdapter" android:resource="@xml/sync" /&gt; &lt;/service&gt; &lt;service android:name=".admob.AdmobAccountAuthenticator" android:exported="false" &gt; &lt;intent-filter&gt; &lt;action android:name="android.accounts.AccountAuthenticator" /&gt; &lt;/intent-filter&gt; &lt;meta-data android:name="android.accounts.AccountAuthenticator" android:resource="@xml/authenticator" /&gt; &lt;/service&gt; &lt;service android:name=".io.ExportService" android:exported="false" /&gt; &lt;service android:name=".io.ImportService" android:exported="false" /&gt; &lt;provider android:name="com.github.andlyticsproject.sync.ContentProvider" android:authorities="com.github.andlyticsproject" android:exported="false" /&gt; &lt;provider android:name="com.github.andlyticsproject.db.AndlyticsContentProvider" android:authorities="com.github.andlyticsproject.db.AndlyticsContentProvider" android:exported="false" /&gt; &lt;receiver android:name="com.github.andlyticsproject.sync.AlarmReceiver" android:exported="false" android:process=":remote" &gt; &lt;/receiver&gt; &lt;/application&gt; &lt;/manifest&gt; ======= &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android" &gt; &lt;application&gt; &lt;activity android:name=".LoginActivity" android:label="@string/title_activity_login" &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; &gt;&gt;&gt;&gt;&gt;&gt;&gt; Added </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload