Picasso detected an unsupported OkHttp on the ...

http://stackoverflow.com/questions/24125856/picasso-detected-an-unsupported-okhttp-on-the-classpath

https://github.com/square/picasso/issues/541

如果使用Picasso同时也使用了okhttp库,那么项目运行的时候可能会报出一下异常:

Picasso detected an unsupported OkHttp on the classpath

针对该情况,网上说需要引入:compile 'com.squareup.okhttp:okhttp-urlconnection:2.2.0'

即同时引入一下三个包:

compile 'com.squareup.okhttp:okhttp:2.4.0'

compile 'com.squareup.okhttp:okhttp-urlconnection:2.2.0'
compile 'com.squareup.picasso:picasso:2.4.0'


你可能感兴趣的:(Picasso detected an unsupported OkHttp on the ...)