- 博客(3)
- 资源 (1)
- 收藏
- 关注
原创 Android studio3.0后,打包gradle配置
时间:def releaseTime() { return new Date().format("yyyyMMdd", TimeZone.getTimeZone("UTC"))}3.0以前:android.applicationVariants.all { variant -> variant.outputs.each { output -> ...
2018-03-23 15:32:56 512
原创 总结解决:java.net.SocketException: sendto failed: ECONNRESET (Connection reset by peer)
在给服务器上传文件的时候,报了这个错。java.net.SocketException: sendto failed: ECONNRESET (Connection reset by peer)。有时候也报这个错:java.net.SocketException: sendto failed: EPIPE (Broken pipe) 。对这两个错是陌生的很,网上一搜,发现有好多同样遇到的,回复给出...
2018-03-23 10:40:33 3192
原创 涉及泛型的Gson转化实体类
使用Gson转化成实体类中的一个方法,传的参数是 Type 对象。fromJson(String json, Type typeOfT)关于获取Type对象,我知道的有两种:Type type = new TypeToken<T>() {}.getType();和Type type = ((ParameterizedType) getClass().getGenericSupercla...
2018-03-08 15:12:05 8493
chromecj.com.zip
2021-07-22
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人