简体   繁体   中英

Error to load Glide Image Android

Hi I have a very strange problem.

I have my backend in Back4app and I have a class with a column: image. The url of the image is like "https://..." I try to load it with Glide using

Glide.with(context) .load("https://back4app...image.png") .into(imageView);

No image load. I said it is strange because before it run, but now I get the ssl error.

What is the problem? I note that when I change the url from "https" to "http" it runs.

Example :

ImageView imageView = (ImageView) findViewById(R.id.my_image_view);

  Glide.with(this).load("url").into(imageView);

Glide Example

Make sure that you added internet permission and also check the url.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM