Could not find method com.squareup.okhttp.OkHttpClient.open, referenced from method retrofit.client.OkClient.openConnection.
below is my gradle config
compile 'com.squareup.okhttp:okhttp:+'
compile 'com.squareup.okhttp:okhttp-urlconnection:+'
compile 'com.squareup.retrofit:retrofit:+'
Ok, square has released 2.0 RC2 on github, but not on maven:
https://github.com/square/okhttp
But you still need okhttp-urlconnection (RC1 right now) which is only on maven:
http://mvnrepository.com/artifact/com.squareup.okhttp
And don't forget okhttp 2.0 is now dependent on okio:
https://github.com/square/okio
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With