会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
冷冷清清风风火火是我
好玩的人,在这世界终究会相遇。
博客园
园子
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
···
11
下一页
2019年9月16日
java.lang.NumberFormatException: For input string: "0.001"
摘要: 运行项目时出现这个数据类型转换的问题:java.lang.NumberFormatException: For input string: "0.001"这句话明确告诉了我们是数字格式异常,接着后面有 For i...
阅读全文
posted @ 2019-09-16 16:20 冷冷清清风风火火是我
阅读(717)
评论(0)
推荐(0)
2019年9月11日
Glide使用总结
摘要: 首先,添加依赖implementation 'com.github.bumptech.glide:glide:4.5.0'annotationProcessor 'com.github.bumptech.glid...
阅读全文
posted @ 2019-09-11 13:45 冷冷清清风风火火是我
阅读(115)
评论(0)
推荐(0)
使用ButterKnife 在开发中需要注意的地方
摘要: 1.Gradle 配置implementation 'com.jakewharton:butterknife:10.1.0'annotationProcessor 'com.jakewharton:butterk...
阅读全文
posted @ 2019-09-11 13:10 冷冷清清风风火火是我
阅读(69)
评论(0)
推荐(0)
项目运行报错Error: Static interface methods are only supported starting with Android N (--min-api 24)
摘要: android studio运行项目提示错误:Error: Static interface methods are only supported starting with Android N (--min-a...
阅读全文
posted @ 2019-09-11 11:09 冷冷清清风风火火是我
阅读(165)
评论(0)
推荐(0)
2019年9月4日
Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout)
摘要: 问题截图如下:造成这个问题的原因是 gradle文件损坏 或者是版本不对,当你升级了高版本的Androidstudio或者升级了gradle以后,可能会发生这个问题,如果你选择的gradle是默认的,那么Andr...
阅读全文
posted @ 2019-09-04 10:10 冷冷清清风风火火是我
阅读(86)
评论(0)
推荐(0)
2019年8月20日
Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 21 path $.data
摘要: 问题:com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGI...
阅读全文
posted @ 2019-08-20 16:44 冷冷清清风风火火是我
阅读(1095)
评论(0)
推荐(0)
2019年8月19日
Picasso闪退 Target must not be null error
摘要: 报错如下:2019-08-19 15:31:58.159 12898-12898/com.xxxx.android E/AndroidRuntime: FATAL EXCEPTION: main Proc...
阅读全文
posted @ 2019-08-19 16:51 冷冷清清风风火火是我
阅读(219)
评论(0)
推荐(0)
2019年8月15日
Maven环境变量配置
摘要: 要配置jdk, maven3.3.9这个版本所需的jdk版本必须要1.7以上 最终要运行的是maven软件中bin目录的mvn命令所以要配置maven的环境变量在系统变量添加环境变量的名称:MAVEN_HOME...
阅读全文
posted @ 2019-08-15 10:18 冷冷清清风风火火是我
阅读(69)
评论(0)
推荐(0)
2019年8月8日
Android开源项目及库汇总
摘要: 东西有点多,但是资源绝对nice,自己都全部亲身体验过了,大家可放心使用github排名: https://github.com/trending ,github搜索: https://github.com/se...
阅读全文
posted @ 2019-08-08 15:13 冷冷清清风风火火是我
阅读(216)
评论(0)
推荐(0)
Android string.xml文字换行、空格等样式(转义字符)
摘要: 上架魅族应用中心的时候,有这个需求:应用内应含有单独成文的隐私政策,可在无网络的情况下正常阅读。 为了方便统一管理,国际化等,我们通常把字符串保存在string.xml中,但这些字符串中直接输入一些...
阅读全文
posted @ 2019-08-08 15:11 冷冷清清风风火火是我
阅读(548)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
11
下一页
公告