Trust anchor for certification path not found. The exception occurs on a real device but not on the emulator
I have an android app that connects to HelioHost. My app runs fine on the emulator (API 33) but when I run it on a real device (API 22) I get the following exception: javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. Here is the code that produces the exception: protected String doInBackground(String… strings)… Read More Trust anchor for certification path not found. The exception occurs on a real device but not on the emulator