android - SkImageDecoder::Factory returned null with Glide -


i trying load images glide, skimagedecoder::factory returned null error, can wrong here? on screen looks have small white squares instead of pictures.

edit

 private giphygifdata getgif(string jsondata) throws jsonexception {         log.e("josn",jsondata);         jsonobject giphy = new jsonobject(jsondata);         jsonarray datalist = giphy.getjsonarray("data");          list.clear();         (int i=0;i<datalist.length();i++) {             log.e("url",datalist.getjsonobject(i).getstring("url"));             list.add(datalist.getjsonobject(i).getstring("url"));         }         giphygifdata gif = new giphygifdata();         gif.seturllist(list);          log.i(tag, "gif json data - gif url: " + gif);          return gif;     }   public class myrvadapter extends recyclerview.adapter<myrvadapter.myviewholder> {      private context context;     arraylist<string> urllist;       @override     public myrvadapter.myviewholder oncreateviewholder(viewgroup parent, int viewtype) {         view v = layoutinflater.from(parent.getcontext()).inflate(r.layout.listview_item, parent, false);          return new myviewholder(v);     }      @override     public void onattachedtorecyclerview(recyclerview recyclerview) {         super.onattachedtorecyclerview(recyclerview);     }      public myrvadapter(arraylist<string> actionlist, context context) {         this.urllist = actionlist;         this.context = context;     }      @override     public void onbindviewholder(myrvadapter.myviewholder holder, int position) {         log.e("here","i here");         log.e("lsit",urllist.size()+"");         log.e("lsit",urllist.get(position));          glide.with(context).load(urllist.get(position))                 .thumbnail(0.5f)                 .error(r.drawable.cutecat001)                 .crossfade()                 .diskcachestrategy(diskcachestrategy.all)                 .into(holder.image);     }      @override     public int getitemcount() {         return urllist.size();     }      public class myviewholder extends recyclerview.viewholder{          recyclerview rv;         imageview image;          public myviewholder(view itemview) {             super(itemview);             image = (imageview) itemview.findviewbyid(r.id.imageview);         }     } } 

log:

11-08 07:32:35.945 10349-10410/com.superlifesize.gifdrawabledemo e/url: http://giphy.com/gifs/filmeditor-movie-set-it-off-3otpocgzzdzxlxxtkc 11-08 07:32:35.945 10349-10410/com.superlifesize.gifdrawabledemo e/url: http://giphy.com/gifs/mrw-oc-jam-2jg9incu6mmci 11-08 07:32:35.945 10349-10410/com.superlifesize.gifdrawabledemo e/url: http://giphy.com/gifs/wave-slime-xtitngmmcit7framoc 11-08 07:32:35.945 10349-10410/com.superlifesize.gifdrawabledemo e/url: http://giphy.com/gifs/filmeditor-movie-set-it-off-3o6wr9o7ecsg3t1y80 11-08 07:32:35.945 10349-10410/com.superlifesize.gifdrawabledemo e/url: http://giphy.com/gifs/set-it-off-jada-pinkett-smith-1996-zmgvtfnk5lp7i 11-08 07:32:35.945 10349-10410/com.superlifesize.gifdrawabledemo e/url: http://giphy.com/gifs/justin-buh-bye-l0myzllxljdfytzy0 11-08 07:32:35.945 10349-10410/com.superlifesize.gifdrawabledemo e/url: http://giphy.com/gifs/donald-glover-atlanta-fx-earn-marks-l0hlke3fvhk6wfmmu 11-08 07:32:35.945 10349-10410/com.superlifesize.gifdrawabledemo e/url: http://giphy.com/gifs/cbs-codeblack-l0hlv8sa0vgalz0he 11-08 07:32:35.945 10349-10410/com.superlifesize.gifdrawabledemo e/url: http://giphy.com/gifs/ride-mjio4ghq4lpge 11-08 07:32:35.945 10349-10410/com.superlifesize.gifdrawabledemo e/url: http://giphy.com/gifs/filmeditor-movie-set-it-off-3otpojbvej57nvzauq 11-08 07:32:35.945 10349-10410/com.superlifesize.gifdrawabledemo e/url: http://giphy.com/gifs/filmeditor-movie-set-it-off-l2ywe75v0lxwsbsc0 11-08 07:32:35.945 10349-10410/com.superlifesize.gifdrawabledemo e/url: http://giphy.com/gifs/asking-for-a-friend-l0myrjz8axezqj60m 11-08 07:32:35.945 10349-10410/com.superlifesize.gifdrawabledemo e/url: http://giphy.com/gifs/editingandlayout-smile-beach-drink-5xtdarqlsew6f7f14fq 11-08 07:32:35.945 10349-10410/com.superlifesize.gifdrawabledemo e/url: http://giphy.com/gifs/justin-cartoon-subway-xt9kvdbyat4ypqtx8c 11-08 07:32:35.945 10349-10410/com.superlifesize.gifdrawabledemo e/url: http://giphy.com/gifs/7qjnynip2hmt2 11-08 07:32:35.945 10349-10410/com.superlifesize.gifdrawabledemo e/url: http://giphy.com/gifs/art-cry-emoji-sm0uvnxzyntwc 11-08 07:32:35.945 10349-10410/com.superlifesize.gifdrawabledemo e/url: http://giphy.com/gifs/spidercat-rxqhncumwqflo 11-08 07:32:35.945 10349-10410/com.superlifesize.gifdrawabledemo e/url: http://giphy.com/gifs/funny-cute-dog-bhsi84ufsp66s 11-08 07:32:35.945 10349-10410/com.superlifesize.gifdrawabledemo e/url: http://giphy.com/gifs/vine-dxnimtlolhgpw 11-08 07:32:35.945 10349-10410/com.superlifesize.gifdrawabledemo e/url: http://giphy.com/gifs/sweet-7f5rbg1gx8dp2 11-08 07:32:35.945 10349-10410/com.superlifesize.gifdrawabledemo e/url: http://giphy.com/gifs/aliciakeys-nbc-the-voice-3oz8xwxajsqjooqo6q 11-08 07:32:35.945 10349-10410/com.superlifesize.gifdrawabledemo e/url: http://giphy.com/gifs/tvland-younger-youngertv-l2qzo2x3ctguv37oy 11-08 07:32:35.945 10349-10410/com.superlifesize.gifdrawabledemo e/url: http://giphy.com/gifs/screamqueens-fox-scream-queens-tv-3o6zss8gfjkjejorq4 11-08 07:32:35.945 10349-10410/com.superlifesize.gifdrawabledemo e/url: http://giphy.com/gifs/opyzztuhvnrvo 11-08 07:32:35.945 10349-10410/com.superlifesize.gifdrawabledemo e/url: http://giphy.com/gifs/snl-saturday-night-live-special-l0hlggxiznra3i4oq 11-08 07:32:35.945 10349-10410/com.superlifesize.gifdrawabledemo i/mainactivity: gif json data - gif url: com.superlifesize.giftest.giphygifdata@e841697 11-08 07:32:35.945 10349-10410/com.superlifesize.gifdrawabledemo v/mainactivity: giphy gif data response: com.superlifesize.giftest.giphygifdata@e841697 11-08 07:32:35.997 10349-10349/com.superlifesize.gifdrawabledemo e/here: here 11-08 07:32:35.997 10349-10349/com.superlifesize.gifdrawabledemo e/lsit: 25 11-08 07:32:35.997 10349-10349/com.superlifesize.gifdrawabledemo e/lsit: http://giphy.com/gifs/filmeditor-movie-set-it-off-3otpocgzzdzxlxxtkc 11-08 07:32:36.009 10349-10349/com.superlifesize.gifdrawabledemo e/here: here 11-08 07:32:36.009 10349-10349/com.superlifesize.gifdrawabledemo e/lsit: 25 11-08 07:32:36.009 10349-10349/com.superlifesize.gifdrawabledemo e/lsit: http://giphy.com/gifs/mrw-oc-jam-2jg9incu6mmci 11-08 07:32:36.454 10349-10415/com.superlifesize.gifdrawabledemo d/skia: --- skimagedecoder::factory returned null 11-08 07:32:36.454 10349-10416/com.superlifesize.gifdrawabledemo d/skia: --- skimagedecoder::factory returned null 

i think using invalid url's instead of glide can use picasso efficient image loading http://square.github.io/picasso/ working rocks me.


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - IE9 error '$'is not defined -