Overview
Sweet-alert-dialog is an animated custom dialog box style that allows you to have a much more beautiful dialog box for your Android program. GitHub Address
Referenced in Android studio
repositories { mavenCentral()}dependencies { compile ‘cn.pedant.sweetalert:library:1.3‘}
Problems and Solutions
- Error message
Error:Execution failed for task ‘:app:processDebugManifest‘.> Manifest merger failed : Attribute [email protected] value=(@mipmap/ic_launcher) from AndroidManifest.xml:27:9-43is 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:25:5-46:19 to override.
Direct make project encountered this manifest merger error because the icon I set in application was inconsistent with the icon set in Sweet-alert-dialog.
- Solution Solutions
In the Manifest tab, add:xmlns:tools="http://schemas.android.com/tools"
Join in the application
tools:replace="icon"
Re-make Project, problem solving ~
Refer to Sweet-alert-dialog in Android and solve problems encountered