I am trying to use *Sweet Alert Dialog*([here](https://github.com/pedant/sweet-alert-dialog)) in my project but I face a problem.
I am following the README.md file but I don't know where to place the following in android studio:

**MAVEN**

```
<dependency>
    <groupId>cn.pedant.sweetalert</groupId>
    <artifactId>library</artifactId>
    <version>1.3</version>
    <type>aar</type>
</dependency>

```

I've succesfully modified the build.gradle project-level but I don't know what to do with this..

My module gradle file is:

```
apply plugin: 'com.android.application'

android {
compileSdkVersion 27
defaultConfig {
    applicationId "com.vogella.android.service.receiver.myapplication"
    minSdkVersion 19
    targetSdkVersion 27
    versionCode 1
    versionName "1.0"

}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 
'proguard-rules.pro'
    }
}
}

dependencies {
    implementation 'com.android.support.constraint:constraint-layout:1.1.2'
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    compile fileTree(dir: 'libs', include: ['*.jar'])
    testCompile 'junit:junit:4.12'
    compile 'com.android.support:appcompat-v7:27.1.1'
    compile 'com.android.support:support-v4:27.1.1'
    compile 'com.android.support:design:27.1.1'

    //Sweet alert dialog
    compile 'cn.pedant.sweetalert:library:1.3'

}

```

project-level gradle file:

```
buildscript {

repositories {
    google()
    jcenter()
    mavenCentral()
}
dependencies {
    classpath 'com.android.tools.build:gradle:3.0.1'

    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
}
}

allprojects {
    repositories {
        google()
        jcenter()
        mavenCentral()
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

```

And that's the error I get:

```
Error:Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed : Attribute application@icon value= 
(@mipmap/ic_launcher) from AndroidManifest.xml:7:9-43
is also present at [com.pnikosis:materialish-progress:1.0] 
AndroidManifest.xml:13:9-45 value=(@drawable/ic_launcher).
Suggestion: add 'tools:replace="android:icon"' to <application> element at 
AndroidManifest.xml:5:5-19:19 to override.

```