java.lang.RuntimeException

Picasso detected an unsupported OkHttp on the classpath. To use OkHttp with this version of Picasso, 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!

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web9

  • via GitHub by yyclang
    ,
  • Stack trace

    • java.lang.RuntimeException: Picasso detected an unsupported OkHttp on the classpath. To use OkHttp with this version of Picasso, 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! at com.squareup.picasso.Utils.createDefaultDownloader(Utils.java:251) at com.squareup.picasso.Picasso$Builder.build(Picasso.java:754) at com.squareup.picasso.Picasso.with(Picasso.java:597) at me.nereo.multi_image_selector.adapter.ImageGridAdapter$ViewHolder.bindData(ImageGridAdapter.java:225) at me.nereo.multi_image_selector.adapter.ImageGridAdapter.getView(ImageGridAdapter.java:187) at android.widget.AbsListView.obtainView(AbsListView.java:2270) at android.widget.GridView.makeAndAddView(GridView.java:1352) at android.widget.GridView.makeRow(GridView.java:352) at android.widget.GridView.fillSpecific(GridView.java:554) at android.widget.GridView.layoutChildren(GridView.java:1251) at android.widget.AbsListView.onLayout(AbsListView.java:2094) at android.view.View.layout(View.java:14114) at android.view.ViewGroup.layout(ViewGroup.java:4467) at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1021) at android.view.View.layout(View.java:14114) at android.view.ViewGroup.layout(ViewGroup.java:4467) at android.widget.FrameLayout.onLayout(FrameLayout.java:448) at android.view.View.layout(View.java:14114) at android.view.ViewGroup.layout(ViewGroup.java:4467) at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1670) at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1528) at android.widget.LinearLayout.onLayout(LinearLayout.java:1441) at android.view.View.layout(View.java:14114) at android.view.ViewGroup.layout(ViewGroup.java:4467) at android.widget.FrameLayout.onLayout(FrameLayout.java:448) at android.view.View.layout(View.java:14114) at android.view.ViewGroup.layout(ViewGroup.java:4467) at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1670) at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1528) at android.widget.LinearLayout.onLayout(LinearLayout.java:1441) at android.view.View.layout(View.java:14114) at android.view.ViewGroup.layout(ViewGroup.java:4467) at android.widget.FrameLayout.onLayout(FrameLayout.java:448) at android.view.View.layout(View.java:14114) at android.view.ViewGroup.layout(ViewGroup.java:4467) at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1670) at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1528) at android.widget.LinearLayout.onLayout(LinearLayout.java:1441) at android.view.View.layout(View.java:14114) at android.view.ViewGroup.layout(ViewGroup.java:4467) at android.widget.FrameLayout.onLayout(FrameLayout.java:448) at android.view.View.layout(View.java:14114) at android.view.ViewGroup.layout(ViewGroup.java:4467) at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2207) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1971) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1152) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4966) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:776) at android.view.Choreographer.doCallbacks(Choreographer.java:579) at android.view.Choreographer.doFrame(Choreographer.java:548) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:762) at android.os.Handler.handleCallback(Handler.java:725) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:153) at android.app.ActivityThread.main(ActivityThread.java:5344) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600) at dalvik.system.NativeStart.main(Native Method)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.