1. 出现 AndroidManifest 的报错提示的时候

先在 manifest 引用 toolsxmlns:tools="http://schemas.android.com/tools"
然后在 application 中 添加 tools:replace="android:icon,android:label"
Android 使用 第三方 Sweet Alert Dialog 的时候出现的报错解决方法
Android 使用 第三方 Sweet Alert Dialog 的时候出现的报错解决方法

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'

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

相关文章:

  • 2021-09-28
  • 2022-12-23
  • 2022-01-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-17
  • 2021-05-17
  • 2021-09-09
  • 2021-11-13
  • 2022-12-23
  • 2021-08-03
相关资源
相似解决方案