我在我的项目中使用Retrofit-1.6.0
+ 。okhttp-2.0.0-RC1
当我运行项目时,我得到了错误。
java.lang.RuntimeException: Retrofit detected an unsupported OkHttp on the classpath.
To use OkHttp with this version of Retrofit, you'll need:
1. com.squareup.okhttp:okhttp:1.6.0 (or newer)
2. com.squareup.okhttp:okhttp-urlconnection:1.6.0 (or newer)
Note that OkHttp 2.0.0+ is supported!
有人知道如何解决这个问题吗?