首页 > 解决方案 > 在 android kikat 和 lollipop 上的滑行中,图像未从 url 加载

问题描述

当我们从 android lollipop 和 kitkat 版本中的 url 加载图像时,glide 显示错误。并且相同的 url 正在使用 android 中的上述棒棒糖版本。

我们正在使用 cdn 加载图像。它显示 ssl 错误。

11-02 10:39:06.581 14611-14611/com.maangal_maangal.maangal E/exception: com.bumptech.glide.load.engine.GlideException: Failed to load resource
    There was 1 cause:
    javax.net.ssl.SSLHandshakeException(java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.)
     call GlideException#logRootCauses(String) for more detail
11-02 10:42:10.977 14611-14611/com.maangal_maangal.maangal E/exception: com.bumptech.glide.load.engine.GlideException: Failed to load resource
    There was 1 cause:
    javax.net.ssl.SSLHandshakeException(java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.)
     call GlideException#logRootCauses(String) for more detail

标签: androidimagessl

解决方案


推荐阅读