Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is picasso check for okHttp broken? #541

Closed
Macarse opened this issue Jun 9, 2014 · 8 comments
Closed

Is picasso check for okHttp broken? #541

Macarse opened this issue Jun 9, 2014 · 8 comments

Comments

@Macarse
Copy link
Contributor

Macarse commented Jun 9, 2014

In version 2.3.2 it search for com.squareup.okhttp.OkUrlFactory (https://github.com/square/okhttp/blob/master/okhttp-urlconnection/src/main/java/com/squareup/okhttp/OkUrlFactory.java)
but I don't see that class available in okHttp 1.6.

I see that class is part of okhttp-urlconnection, should we start adding okhttp-urlconnection as an additional dependency?

@JakeWharton
Copy link
Member

Yes. You need both until OkHttp 2.0 final is out.

@Macarse
Copy link
Contributor Author

Macarse commented Jun 9, 2014

Cool, thanks.

@Macarse Macarse closed this as completed Jun 9, 2014
@nielsz
Copy link

nielsz commented Jun 24, 2014

It seems that we still need both in OkHttp 2.0?

@JakeWharton
Copy link
Member

Yes.
On Jun 24, 2014 4:13 AM, "nielsz" notifications@github.com wrote:

It seems that we still need both in OkHttp?


Reply to this email directly or view it on GitHub
#541 (comment).

@lnanek
Copy link

lnanek commented Nov 17, 2014

Getting the error with picasso-2.4.0.jar and okhttp-2.1.0.jar . So seems to still be a problem even after 2.0.

@JakeWharton
Copy link
Member

Did you include okhttp-urlconnection jar?
On Nov 17, 2014 2:02 PM, "Lance Nanek" notifications@github.com wrote:

Getting the error with picasso-2.4.0.jar and okhttp-2.1.0.jar . So seems
to still be a problem even after 2.0.


Reply to this email directly or view it on GitHub
#541 (comment).

@mansukhgagal
Copy link

use this combination it work for me

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'

@davidkable
Copy link

use this it also work for me

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

thanks @mansukhgagal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants