Android 4/5 SSL Fix over Google Play

ID - _BUGFISH - E#18
^Top
<< Back
Mobile-Menu










Android 4/5 SSL Fix over Google Play
Category: Android-Java
Sub-Category:
Creator: Jan-Maurice Dahlmanns
Created: 2020-08-15 03:41:11
Modified: 2024-11-17 00:33:26
Views: 790

Caution: 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.

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'
 

Currently 0 Upvotes!

captcha image
System - 2024-11-05 18:29:59
Commenting System Initialized! Have a very nice day!

Switches: 0 | Arrivals: 4 | Visits: 4
This Website is using Session Cookies for Site Functionality.