- 博客(8)
- 资源 (1)
- 收藏
- 关注
原创 Cannot Resolve method subscribe(anonymous org.reactivestreams.Subscriber 已解决
使用Rxjava2 出现错误:Cannot Resolve method 'subscribe(anonymous org.reactivestreams.Subscriber<Model Name>原代码: subscribe(new Subscriber<UserResponse>(){ @Override public void onSubscribe(Subscription s) { }
2020-06-20 21:55:51
2489
原创 Gradle DSL method not found: sourceCompatibility()Possible causes:
The project '' may be using a version of Gradle that does not contain the method.将sourceCompatibility JavaVersion.VERSION_1_8targetCompatibility JavaVersion.VERSION_1_8改成sourceCompatibility=JavaVersion.VERSION_1_8targetCompatibility=JavaVersion
2020-06-15 18:06:19
656
原创 butterknife 使用方法
在dependenise{}中加入库依赖 (注意版本一定要相同) impelementation 'com.jakewharton:butterknife:8.8.1' annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'2.在Android Studio中添加插件,(可以自动生成绑定控件的代码) File -> Settings -> Plugins -> 搜索Butte..
2020-06-03 15:29:29
141
原创 Version 28 (intended for Android Pie and below) is the last version of the legacy support library, s
刚开始建项目 会出现 Version 28 (intended for Android Pie and below) is the last version of the legacy support library, so we recommend that you migrate to AndroidX libraries when using Android Q and moving forward. The IDE can help with this: Refactor > Migrat..
2020-06-03 14:57:37
2525
1
原创 GoldfishAddressSpaceHostMemoryAllocator: ioctl_ping failed for device_type=5, ret=-1
查了半天资料是因为返回的json 中有中文导致的,直接将中文改成英文就可以输出了解决方法后续更新
2020-05-14 18:30:08
12914
6
原创 宝塔如何使用一个IP地址建立多个站点
使用同一个IP配置第二个站点时有时会显示:您添加的站点已存在!解决方法:1.默认你已经建立一个站点,并且在阿里云添加了两个端口的安全组规则2.点击添加站点 域名填写www.ddddd.com ,其他配置自己选择,点击提交3.在新的网站后面点击设置-域名管理-添加 填写您需要的ip地址:端口号 并删除域名www.ddddd.com4.复制第一个站点配置文件所有内容到新的...
2020-04-23 23:09:04
11552
3
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人