建议用glide https://github.com/bumptech/g... Glide.with(context) .load("imageUrl") .asBitmap() .into(new SimpleTarget<Bitmap>(Target.SIZE_ORIGINAL, Target.SIZE_ORIGINAL) { @Override public void onResourceReady(Bitmap bitmap, GlideAnimation glideAnimation) { //得到bitmap } });
建议用glide https://github.com/bumptech/g...