【问题标题】:okhttp: non-static method redirectsToGet(String) cannot be referenced from a static contextokhttp:无法从静态上下文引用非静态方法 redirectsToGet(String)
【发布时间】:2019-07-10 17:02:39
【问题描述】:

更新了 androidTestImplementation
com.squareup.okhttp3:mockwebserver:3.8.0'

com.squareup.okhttp3:mockwebserver:4.0.1' 

并开始获取:无法从静态上下文引用非静态方法 redirectsToGet(String)

【问题讨论】:

  • 如果你什么都没做,你应该质疑库的开发者,而不是 StackOverflow 的问题。

标签: android android-gradle-plugin mockito mockwebserver


【解决方案1】:
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2020-12-31
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多