该问题原因很简单。因为导入的包版本不一致。
解决方法,将拦截器和okhttp的般片设置一致即可。例如:
compile 'com.squareup.okhttp3:okhttp:3.3.1'
compile 'com.squareup.okhttp3:logging-interceptor:3.3.1'
该问题原因很简单。因为导入的包版本不一致。
解决方法,将拦截器和okhttp的般片设置一致即可。例如:
compile 'com.squareup.okhttp3:okhttp:3.3.1'
compile 'com.squareup.okhttp3:logging-interceptor:3.3.1'