florent37 / ShapeOfView

Give a custom shape to any android view, Material Design 2 ready
Apache License 2.0
3.14k stars 400 forks source link

Software rendering doesn't support hardware bitmaps #72

Open mortezamim opened 4 years ago

mortezamim commented 4 years ago

Hi I got this error can anyone help me

Fatal Exception: java.lang.IllegalArgumentException: Software rendering doesn't support hardware bitmaps at android.graphics.BaseCanvas.onHwBitmapInSwMode(BaseCanvas.java:683) at android.graphics.BaseCanvas.throwIfHwBitmapInSwMode(BaseCanvas.java:690) at android.graphics.BaseCanvas.throwIfCannotDraw(BaseCanvas.java:94) at android.graphics.BaseCanvas.drawBitmap(BaseCanvas.java:152) at android.graphics.Canvas.drawBitmap(Canvas.java:1588) at android.graphics.drawable.BitmapDrawable.draw(BitmapDrawable.java:548) at android.widget.ImageView.onDraw(ImageView.java:1434)

andriipanasiuk commented 4 years ago

Have the same issue. It is not reproducing on Xiaomi Mi A1 (Android 7) but is reproducible on Xiaomi Mi Note 3 (Android 9)

amirhoseein63 commented 9 months ago

Same problem..