Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Software rendering doesn't support hardware bitmaps #71

Open
dengzq opened this issue Jan 8, 2020 · 1 comment
Open

Software rendering doesn't support hardware bitmaps #71

dengzq opened this issue Jan 8, 2020 · 1 comment

Comments

@dengzq
Copy link

dengzq commented Jan 8, 2020

We got crash report from our users, Only from system version is android 8 , android 9 and android 10.

Error message likes below:

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:1416)
at android.view.View.draw(View.java:23143)
at android.view.View.draw(View.java:23015)
at android.view.ViewGroup.drawChild(ViewGroup.java:4620)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4377)
at android.view.ViewOverlay$OverlayViewGroup.dispatchDraw(ViewOverlay.java:254)
at android.view.View.draw(View.java:23158)
at com.android.internal.policy.DecorView.draw(DecorView.java:1107)
at blurkit.BlurLayout.getDownscaledBitmapForView(:73)
at blurkit.BlurLayout.blur(:247)
at blurkit.BlurLayout.invalidate(:3)
at blurkit.BlurLayout$1.doFrame(:2)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:994)
at android.view.Choreographer.doCallbacks(Choreographer.java:794)
at android.view.Choreographer.doFrame(Choreographer.java:725)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:981)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:237)
at android.app.ActivityThread.main(ActivityThread.java:7762)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1047)

@wushuais
Copy link

wushuais commented Sep 4, 2020

i have the same question, how did you solve it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants