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

后端 未结 12 1408
清酒与你
清酒与你 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:22

    The icon files are too large for Android to efficiently and smoothly load. Android recognizes this with its smart algorithms.

    You can resize the icon files using Final Android Resizer by asystat. Resize them to "xhdpi" or lower.

    Place the resized photos in drawable or overwrite over the existing large icon files.

    Then, you're done.

提交回复
热议问题