Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8677555
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T20:29:17+00:00 2026-06-12T20:29:17+00:00

I’m unable to sort out the problem.I have two manifest tags in xml. I

  • 0

I’m unable to sort out the problem.I have two manifest tags in xml.
I am getting the Following error:

AndroidManifest.xml: The markup in the document preceding the root element must be well-formed.

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?

Here is my androidmanifest.xml

<<<<<<< Original

<?xml version="1.0" encoding="utf-8"?>
<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" >

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.GET_ACCOUNTS" />
    <uses-permission android:name="android.permission.USE_CREDENTIALS" />
    <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
    <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
    <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
    <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
    <uses-permission android:name="android.permission.READ_SYNC_STATS" />
    <uses-permission android:name="android.permission.WRITE_SYNC_STATS" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.VIBRATE" />

    <uses-sdk
        android:minSdkVersion="7"
        android:targetSdkVersion="16" />

    <application
        android:name="AndlyticsApp"
        android:allowBackup="true"
        android:icon="@drawable/icon"
        android:label="@string/app_name"
        android:theme="@style/Theme.Andlytics" >
        <activity
            android:name=".LoginActivity"
            android:label="@string/app_name" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
            android:name=".Main"
            android:label="@string/app_name"
            android:uiOptions="splitActionBarWhenNarrow" >
        </activity>
        <activity
            android:name=".CommentsActivity"
            android:label="@string/comments" >
        </activity>
        <activity
            android:name=".ChartActivity"
            android:label="@string/app_name" >
        </activity>
        <activity
            android:name=".AdmobActivity"
            android:label="@string/app_name_admob" >
        </activity>
        <activity
            android:name=".AdmobAuthenticatorActivity"
            android:excludeFromRecents="true"
            android:label="@string/app_name_admob"
            android:theme="@android:style/Theme.Dialog" />
        <activity
            android:name=".PreferenceActivity"
            android:label="@string/preferences" >
        </activity>
        <activity
            android:name=".NotificationPreferenceActivity"
            android:label="@string/notifications" >
        </activity>
        <activity
            android:name=".AccountSpecificPreferenceActivity"
            android:label="@string/notifications" >
        </activity>
        <activity
            android:name=".ImportActivity"
            android:label="@string/statistics_import"
            tools:ignore="ExportedActivity" >
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />

                <category android:name="android.intent.category.DEFAULT" />

                <data
                    android:host="*"
                    android:mimeType="application/zip"
                    android:pathPattern="andlytics\\.zip"
                    android:scheme="file" />
            </intent-filter>
            <!-- intent-filter android:priority="-100" -->
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />

                <category android:name="android.intent.category.DEFAULT" />

                <data
                    android:mimeType="application/zip"
                    android:scheme="file" />
            </intent-filter>
        </activity>
        <activity
            android:name=".ExportActivity"
            android:label="@string/statistics_export" >
        </activity>

        <service
            android:name=".sync.SyncAdapterService"
            android:exported="false"
            android:process=":andlytics" >
            <intent-filter>
                <action android:name="android.content.SyncAdapter" />
            </intent-filter>

            <meta-data
                android:name="android.content.SyncAdapter"
                android:resource="@xml/sync" />
        </service>
        <service
            android:name=".admob.AdmobAccountAuthenticator"
            android:exported="false" >
            <intent-filter>
                <action android:name="android.accounts.AccountAuthenticator" />
            </intent-filter>

            <meta-data
                android:name="android.accounts.AccountAuthenticator"
                android:resource="@xml/authenticator" />
        </service>
        <service
            android:name=".io.ExportService"
            android:exported="false" />
        <service
            android:name=".io.ImportService"
            android:exported="false" />

        <provider
            android:name="com.github.andlyticsproject.sync.ContentProvider"
            android:authorities="com.github.andlyticsproject"
            android:exported="false" />
        <provider
            android:name="com.github.andlyticsproject.db.AndlyticsContentProvider"
            android:authorities="com.github.andlyticsproject.db.AndlyticsContentProvider"
            android:exported="false" />

        <receiver
            android:name="com.github.andlyticsproject.sync.AlarmReceiver"
            android:exported="false"
            android:process=":remote" >
        </receiver>
    </application>

</manifest>
=======

<manifest xmlns:android="http://schemas.android.com/apk/res/android" >

    <application>
        <activity
            android:name=".LoginActivity"
            android:label="@string/title_activity_login" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>

</manifest>

>>>>>>> Added
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T20:29:19+00:00Added an answer on June 12, 2026 at 8:29 pm

    comment the second manifest tag. there should be only one manifest tag.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I've tracked down a weird MySQL problem to the two different ways I was
I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
Configuring TinyMCE to allow for tags, based on a customer requirement. My config is
I have a jquery bug and I've been looking for hours now, I can't
Basically, what I'm trying to create is a page of div tags, each has
this is what i have right now Drawing an RSS feed into the php,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.