![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
爬坑记录
文章平均质量分 55
SkyBlue_1227
这个作者很懒,什么都没留下…
展开
-
解决:ButterKnife在gradle 3.0以后用不了的情况
今天看着项目,想着使用黄油刀省点事儿,配置好黄油刀之后,悠哉的点击了一下运行,突然报了一个异常,如下:Error:java.lang.RuntimeException: Annotation processors must be explicitly declared now. The following dependencies on the compile classpa转载 2018-01-15 09:52:06 · 5046 阅读 · 0 评论 -
Glide 4.6的使用
今天学习了一下Glide图片加载库的使用。在网上查了一些资料,发现许多资料写的都是Glide4.0以前的版本,由于Glide4.0之后有一些改动,所以之前Glide3.x的版本一些API就不能用了,在此做一些Glide API的用法记录。我使用的Glide为最新的库,版本号为:4.6.1首先在build.gradle文件下添加依赖:dependencies { implementation '...原创 2018-03-07 17:45:01 · 1235 阅读 · 0 评论 -
Gradle 3.0之后打包
defaultConfig { applicationId "" minSdkVersion 15 targetSdkVersion 27 versionCode 1 versionName "1.0" flavorDimensions "versionCode" testInstrum...原创 2018-03-29 17:02:24 · 317 阅读 · 0 评论 -
在Android中将毫秒转换为时间
// 500秒long millisecond = 500000;SimpleDateFormat dateFormat = new SimpleDateFormat("HH:mm:ss", Locale.CHINA);dateFormat.setTimeZone(TimeZone.getTimeZone("GMT+00:00"));// time为转换格式后的字符串String ti...原创 2018-07-31 16:15:22 · 6324 阅读 · 0 评论