Martin
Martin

Reputation: 24308

Android Studio: Manifest merging failed for adding aar for sherlock action bar

I tried adding sherlock as an aar using gradle and it states an error saying "manifest merging failed. See console for more info".

Where exactly is the console ? I am using Windows, I see no windows in Android Studio claiming to be a console. I presume I would get to see more info here ?

This is my gradle file, my minsdk and tarjetsdk are the same in my manifest and my build.gradle.

Anyone had this and fixed it ?

Here is my gradle file

buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:0.5.+'
    }
}
apply plugin: 'android'

repositories {
    mavenCentral()
}

android {
    compileSdkVersion 18
    buildToolsVersion "18.0.1"

    defaultConfig {
        minSdkVersion 7
        targetSdkVersion 16
    }
}

dependencies {
    compile 'com.android.support:support-v4:18.0.0','com.actionbarsherlock:actionbarsherlock:4.4.0@aar'
}

Thanks in advance

Upvotes: 0

Views: 1446

Answers (1)

flx
flx

Reputation: 14226

I guess targetSDK is higher in ABS. Check console out and set your targetSDK to 18.

Upvotes: 3

Related Questions