Android 使用 第三方 Sweet Alert Dialog 的时候出现的报错解决方法

    技术2022-07-15  53

    出现 AndroidManifest 的报错提示的时候

    先在 manifest 引用 tools : xmlns:tools="http://schemas.android.com/tools" 然后在 application 中 添加 tools:replace="android:icon,android:label"

    2 出现 .java.lang.RuntimeException: Unknown animation name: cn.pedant.SweetAlert.Rotate3dAnimation error:null

    将依赖 implementation 'cn.pedant.sweetalert:library:1.3' 替换成 implementation 'com.github.f0ris.sweetalert:library:1.5.1'

    Processed: 0.013, SQL: 9