I am working on a below 21 api level project and when i am calling an API then the error showing on jellybean that
SSL handshake aborted
I try many methods but only one method is working on kitkat like:
try {
SSLContext.getInstance("TLSv1");
} catch (NoSuchAlgorithmException e) {
e.printStackTrace();
}
try {
ProviderInstaller.installIfNeeded(context.getApplicationContext());
} catch (GooglePlayServicesRepairableException e) {
e.printStackTrace();
} catch (GooglePlayServicesNotAvailableException e) {
e.printStackTrace();
}
but this method is not working on Jellybean. There are another error also showing that:
W/GooglePlayServicesUtil: Google Play services out of date. Requires 13400000 but found 9256030
Please suggest me best solution.
Try to change this SSLContext.getInstance("TLS")