after update android studio to 2.2 suddenly my project wont build while building it gives me following error
Error:java.lang.RuntimeException: Manifest merger failed with multiple errors, see logs I updated all the libraries , api used but no luck.and tried to run an older version but it also give me the same error... I'll attach the gradle files with this
build.gradle
buildscript {
repositories {
jcenter()
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0'
classpath 'com.google.gms:google-services:3.0.0'
classpath 'io.fabric.tools:gradle:1.+'
}
}
allprojects {
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
build.gradle
buildscript {
repositories {
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'io.fabric.tools:gradle:1.+'
}
}
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'
repositories {
maven { url 'https://maven.fabric.io/public' }
}
android {
compileSdkVersion 24
buildToolsVersion "24.0.2"
defaultConfig {
applicationId "com.example.hellow"
minSdkVersion 18
targetSdkVersion 24
versionCode 5
versionName "1.0.0.4"
testInstrumentationRuer "android.support.test.ruer.AndroidJUnitRuer"
}
aaptOptions {
additionalParameters "--no-version-vectors"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
packagingOptions{
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE-FIREBASE.txt'
exclude 'META-INF/NOTICE'
}
}
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-aotations'
})
compile('com.twitter.sdk.android:twitter:2.0.0@aar') {
transitive = true;
}
compile('com.twitter.sdk.android:twitter:2.0.0@aar') {
transitive = true;
}
compile 'com.google.firebase:firebase-auth:9.4.0'
compile 'com.android.support:appcompat-v7:24.2.1'
compile 'com.facebook.android:facebook-android-sdk:[4,5)'
compile 'com.github.markushi:circlebutton:1.1'
compile 'com.android.support:design:24.2.1'
compile 'com.github.nguyenhoanglam:ImagePicker:1.0.3'
compile 'com.theartofdev.edmodo:android-image-cropper:2.3.+'
compile 'com.google.firebase:firebase-core:9.4.0'
compile 'com.google.android.gms:play-services-appindexing:9.6.1'
compile 'com.google.firebase:firebase-storage:9.4.0'
compile 'com.firebase:firebase-client-android:2.5.2'
compile 'com.google.firebase:firebase-database:9.4.0'
compile 'com.google.firebase:firebase-messaging:9.4.0'
testCompile 'junit:junit:4.12'
compile 'com.frosquivel:magicalcamera:1.0'
}
apply plugin: 'com.google.gms.google-services'
So far I tried following
clean project , Rebuild project, invalidate cache and restarted, updated all libraries dependencies to the latest and matched all the versions, constructed this entire project as a new project from scratch, but no luck from all of these any help would appreciate.. Thank you all very much
