“Canvas: trying to draw too large bitmap” when Android N Display Size set larger than Small

后端 未结 12 1402
清酒与你
清酒与你 2020-11-27 14:51

I have a published app that is crashing at startup on Android N when the newly introduced Display size OS setting is set to too large a value.

When I lo

12条回答
  •  遥遥无期
    2020-11-27 15:21

    if you use Picasso change to Glide like this.

    Remove picasso

    Picasso.get().load(Uri.parse("url")).into(imageView)
    

    Change Glide

    Glide.with(context).load("url").into(imageView)
    

    More efficient

提交回复
热议问题