Skip to content

After Updating okhttp to okhttp3 the OkHttpDownloader wont work for Picasso #1256

@ArslanAli7

Description

@ArslanAli7

Hello @JakeWharton i have upgraded my project to okhttp3 using
compile 'com.squareup.okhttp3:okhttp:3.0.0-RC1'
,now for image downloading i am using picasso 2.5.2, but for all of the sudden okhttp Downloader is not recognizable by picasso any more, do i need to upgrade picasso library as well in order for it to work with okhttp3,currently i am using gradle build system and do not know much about how to add snapshot to your project,maybe you can help me out here,this is the exception i am getting :
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/squareup/okhttp/OkHttpClient;
at com.squareup.picasso.OkHttpDownloader.defaultOkHttpClient(OkHttpDownloader.java:31)
at com.squareup.picasso.OkHttpDownloader.(OkHttpDownloader.java:76)
at utils.Global.onCreate(Global.java:33)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy