Glide无法在Android 4.4.4及更低版本中加载gif网址

时间:2019-05-11 16:23:13

标签: android android-glide android-4.4-kitkat

我正在尝试使用Glide在我的应用程序中加载GIF网址。该代码从android 5.0到9.0正常工作。但相同的代码不适用于android 4.4.4及更低版本。 url永不加载,这是Log

05-11 21:08:16.819 6245-6245/com.pikasapps.carswallpapershd W/Glide: Load failed for https://my-android-apps.com/wallpapers/fotos/upload/category/motivacion.jpg with size [516x341]
    class com.bumptech.glide.load.engine.GlideException: Failed to load resource
    There was 1 cause:
    java.net.SocketTimeoutException(failed to connect to my-android-apps.com/2a01:238:20a:202:1091:: (port 443) after 2500ms)
     call GlideException#logRootCauses(String) for more detail
      Cause (1 of 1): class com.bumptech.glide.load.engine.GlideException: Fetching data failed, class java.io.InputStream, REMOTE
    There was 1 cause:
    java.net.SocketTimeoutException(failed to connect to my-android-apps.com/2a01:238:20a:202:1091:: (port 443) after 2500ms)
     call GlideException#logRootCauses(String) for more detail
        Cause (1 of 1): class java.net.SocketTimeoutException: failed to connect to my-android-apps.com/2a01:238:20a:202:1091:: (port 443) after 2500ms

0 个答案:

没有答案