I am trying to use OkHttp but it keep crashing. Can someone have a quick look and see if you know whats happening. Thank you.
Log cat:
01-24 08:34:46
OkHttp needs Okio, which OkHttp uses for fast I/O and resizable buffers. You can download Okio (latest JAR) here.
or
Android gradle : compile 'com.squareup.okio:okio:1.6.0'
Maven
<dependency>
<groupId>com.squareup.okio</groupId>
<artifactId>okio</artifactId>
<version>1.6.0</version>
</dependency>
for version checks; github okio
There seems to be a dependency on the 1.0 library of OkHTTP. It is a known report. You may follow it on the link below:
https://github.com/square/okhttp/issues/870
You should also include the library 1.0 in the project libs.