^

Android 4/5 SSL Fix over Google Play

Article 18 in Android-Java

2020-08-15 03:41:11 from bugfish
Android 4/5 SSL Fix over Google Play
Android-Java / Hints
Last Review on: 2021-05-10 15:09:09 | Hits: 274

This may fix this error ---
javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x6abff398:Failure in SSL library, usually a protocol error error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure (external/openssl/ssl/s23_clnt.c:7440x684dfce0:0x00000000)

Add this to your Class


//////////////////////////////////////////
// Use Google Play Services For Android 4.x/5 Download Connections over SSLtry {
ProviderInstaller.installIfNeeded(MainActivity.this);
 

Add this to your build.gradle File [Module] (inside dependencies)

/* PLAY SERVICES AUTH LIBRARY FOR ANDROID BELOW 6 TO USE HTTPS TLS */
implementation 'com.google.android.gms:play-services-auth:18.1.0'
 

I do not guarantee the reliability of the information given here, the code described on this page is executed at your own risk and in the event of damage or other unforeseeable consequences I am in no way responsible or liable.
Comment Section
Currently 1 Upvotes!
captcha image

System - 2021-01-02 18:07:19
We appreciate comments on our site!

This Website is using Session Cookies for Site Functionality and AWStats.
Radio