昨天想在项目中添加Sweet Alert Dialog,添加半天终于弄好了,以下为过程
一开始,我参考各种资料,选用这个
https://www.2cto.com/kf/201708/674986.html
最终结果
错误提示:cn.pedant.SweetAlert.Rotate3dAnimation error:null
各种搜索无用,幸好看到这位朋友的帖子——传送
地址:https://blog.youkuaiyun.com/ljb780830997/article/details/79065576
还是错误
提示:Gradle sync failed: Project with path ':library' could not be found in project ':app'.
然后我在settings:gradle中添加include ':library'
正确
可用