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)
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)