Help ......Build failed with an exception


(Sarthak) #1

hello there i am creating a app where i need to use customize alert dialog so i am using sweet alert dialog and sync the dependencies into build.gradle (app)

dependencies {
    compile 'cn.pedant.sweetalert:library:1.3'
}

but when i sync it it
FAILURE: Build failed with an exception.

  • What went wrong:
    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 element at AndroidManifest.xml:5:5-19:19 to override.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

and also gradle build stop working can anybody know how to solove this problem…
and
really sorry for my english if you find any problem …
also i am using android studio 3.2