X
X
## 前言 ## 之前常用这个轮子, 近两年, 原作者不再维护, AS3.0引用报错, 在此声明新版使用方式. ## 方式一 ## ### 通过我自己封装SweetAlertDialog添加依赖,直接引用 ### 参考项目地址:[https://github.com/Cazaea/SweetAlertDialog](https://github.com/Cazaea/SweetAlertDialog) ## 方式二 ## ### 通过导入Library引用 ### > 1.下载作者源码[https://github.com/pedant/sweet-alert-dialog](https://github.com/pedant/sweet-alert-dialog),将作者源码中library作为module引用; 通过file-->new-->import Module(将作者源码中library直接导入) >参考: [为项目添加Module依赖](http://blog.csdn.net/Wistorms/article/details/78412514) >2.删除作者library-->build.gradle中给定的VERSION_NAME, GROUP,以及apply from引用,...
关于构建项目CoordinatorTabLayout不能实例化的说明: [参考:CoordinatorTabLayout注意点及使用.](http://blog.csdn.net/wistorms/article/details/70745870) ---->**关于该Application的Theme, 指定parent为Theme.AppCompat, 且必须为NoActionBar主题.** 创建项目时, Studio默认了其他主题, 所以构建项目, 一直无法实例化CoordinatorTabLayout, 之后查找原因, 发现这个问题, 遂加备注, 以示后人.
## 【关于项目框架更新适配的建议】 ## 建议收集 * 无人提过此建议 * 需要适配更新最新AS版本及Gradle配置; * 新版Gradle:API 'android.registerTransform' is obsolete. 需要更新适配,其中牵扯调整内容较多;