Android Question Alternative to okhttp 1.5?

Myr0n

Active Member
Licensed User
Longtime User
Hello

I am using okhttputils2 version 3.0, recently I made a change in an old project app that runs in some devices with android 4.x

My problem now is that since the latest version of okhttp 1.5 the minimum sdk version is 21 (android 5) my old project in devices android 4.x has some issues.

My question is, is there an alternative to okhttp 1.5? unfortunately I don't have any copy of previous versions of b4a, that I am pretty sure will be a good idea to have.

okhttputils2 depends on okhttp

Thank you
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
 
Upvote 0

Myr0n

Active Member
Licensed User
Longtime User
Unfortunately did not work, it gives some errors but only in android devices 4.x, I was checking the changelog and probably the 10.0 version should work because in the 10.2 OkHttp was updated based on OkHttp to 3.12.12

javax.net.ssl.SSLHandshakeException:
*** Service (httputils2service) Create ***
** Service (httputils2service) Start **
ResponseError. Reason: javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x1046010: Failure in SSL library, usually a protocol error
error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version (external/openssl/ssl/s23_clnt.c:658 0x4019ccf5:0x00000000), Response:
Error!
 
Upvote 0
Top