Buena tarde!! Estoy recibiendo este error y no se por que es, espero me puedan ayudar.
Error:Execution failed for task ':app:processDebugManifest'.
Manifest merger failed with multiple errors, see logs
AndroidManifest:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.udiaz.chat">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="co.chatsdk.ui.login.LoginActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<meta-data android:name="firebase_url" android:value="@string/firebase_url" />
<meta-data android:name="firebase_root_path" android:value="@string/firebase_root_path" />
<meta-data android:name="firebase_storage_url" android:value="@string/firebase_storage_url" />
</application>
</manifest>
Este es mi build.gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
buildToolsVersion "26.0.2"
defaultConfig {
applicationId "com.example.udiaz.chatprueba"
minSdkVersion 15
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:26.+'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
testCompile 'junit:junit:4.12'
compile project(path: ':chat_sdk_ui')
compile project(path: ':chat_sdk_firebase_push')
compile 'com.google.firebase:firebase-messaging:9.4.0'
compile 'com.android.support:multidex:1.0.1'
}
apply plugin: 'com.google.gms.google-services'
Este es el log.
11-13 14:05:19.892 1147-1517/? E/Drm: Failed to find drm plugin 11-13 14:05:23.041 1722-1722/com.google.android.gms.persistent E/BluetoothAdapter: Bluetooth binder is null
gradle
, no en elManifest
. A no ser que una de esas Activity no existan en el proyecto. Es muy probable que tengas dos librerías con versiones incomptabiles. Si editas tu pregunta poniendo tu archivo gradle de app podríamos revisar.