Expected ':status' header not present
Retrofit访问接口返回异常 ( Expected ':status' header not present )
参考:https://blog.csdn.net/llmmll08/article/details/53217942
但是并没有解决问题,贼恶心;
我依赖的包有:

后来发现确实是有问题:
implementation ('com.squareup.okhttp3:logging-interceptor:3.4.1') 就是这玩意,后来我嫌恶心,换了一下

换成这个即可:
implementation 'com.squareup.okhttp3:okhttp:3.10.0' implementation 'com.squareup.okhttp3:logging-interceptor:3.4.1'
本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!
