Picasso detected an unsupported OkHttp on the ...

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

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

若是使用Picasso同時也使用了okhttp庫,那麼項目運行的時候可能會報出一下異常:url

Picasso detected an unsupported OkHttp on the classpathspa

針對該狀況,網上說須要引入:compile 'com.squareup.okhttp:okhttp-urlconnection:2.2.0'orm

即同時引入一下三個包:get

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

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

相關文章
相關標籤/搜索