-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
Could not use 'com.squareup.okhttp3:okhttp-urlconnection:3.0.0' (gradle) #2243
Comments
I have the same issue |
Probably it's bit early to call v3.0.0 a stable version. |
It's stable. On Thu, Jan 14, 2016 at 11:51 AM Valentin Konovalov <
|
I'm glad to hear this, Jake. Unfortunately it doesn't compile for most common scenarios because of the issue. Any plans to support picasso with okhttp3? |
@BoD why you still have exclude line on the urlconnection one if you comment first one? |
@iNoles Gradle knows that |
Shoot, is this from the maven-bundle-plugin? |
@dave-r12 The way I see it, this is intended behavior. The indesirable part is the included |
OkHttp 3 support is already merged into Picasso master (and Retrofit) and there exists standalone projects on my GitHub for support of all current versions. |
Ugh, not sure why |
The too-many-class-files fix is here: |
Fixed & released as 3.0.1. Trying to enable OSGi burned us on this one. |
Hello, I get the same error when I try to use Explanation: Also I tried out After a while: I think the problem regarding with both of react-native and I use the |
I am building an Android app.
When declaring these 2 dependencies:
my build fails with this error:
When looking at
okhttp-urlconnection.jar
I was surprised to see this class indeed present inside. I am not sure if this is normal.I tried to be clever and declare instead these dependencies:
(notice the first declaration is commented out)
Now the build succeeds. But my app fails at runtime, with this exception:
Weird?
The text was updated successfully, but these errors were encountered: