Home » Android » Android Studio Manifest merger error in package name-Exceptionshub

Android Studio Manifest merger error in package name-Exceptionshub

Posted by: admin February 24, 2020 Leave a comment

Questions:
  • What went wrong:
    Execution failed for task ‘:app:processDebugManifest’.

    Manifest merger failed : Package name ‘ ‘ at position AndroidManifest.xml:3:5-40 should contain at least one ‘.’ (dot) character

package=”com.example.myapplication”

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.myapplication">

    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="Tabeeb"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">
        <activity android:name=".flipview"/>
        <activity android:name=".user_row" />
        <activity android:name=".Chat" />
        <activity android:name=".doclist" />
        <activity android:name=".chat_items" />
        <activity
            android:name=".Forgotpassword"
            android:theme="@style/Theme.AppCompat.Light.NoActionBar" />
        <activity
            android:name=".SignUp"
            android:theme="@style/Theme.AppCompat.Light.NoActionBar" />
        <activity
            android:name=".Login"
            android:theme="@style/Theme.AppCompat.Light.NoActionBar">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />

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

                <data
                    android:scheme="http"
                    android:host="www.tabeeb-app.com"
                    android:pathPrefix="/tabeeb" />
            </intent-filter>
        </activity>
        <activity android:name=".MainActivity" />
    </application>

</manifest>
How to&Answers:

in your project build gradle

dependencies {
        classpath 'com.android.tools.build:gradle:3.2.0'
}