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 #615

Open
yangheng362 opened this issue Aug 18, 2018 · 4 comments
Open

Software rendering doesn't support hardware bitmaps #615

yangheng362 opened this issue Aug 18, 2018 · 4 comments

Comments

@yangheng362
Copy link

yangheng362 commented Aug 18, 2018

Stetho will makes app crash at sometime.This is the crash log.Android version is 8.1.0.

Fatal Exception: java.lang.IllegalStateException: Software rendering doesn't support hardware bitmaps
       at android.graphics.BaseCanvas.throwIfHwBitmapInSwMode(BaseCanvas.java:532)
       at android.graphics.BaseCanvas.throwIfCannotDraw(BaseCanvas.java:62)
       at android.graphics.BaseCanvas.drawBitmap(BaseCanvas.java:120)
       at android.graphics.Canvas.drawBitmap(Canvas.java:1434)
       at android.graphics.drawable.BitmapDrawable.draw(BitmapDrawable.java:529)
       at android.widget.ImageView.onDraw(ImageView.java:1367)
       at android.view.View.draw(View.java:19192)
       at android.view.View.draw(View.java:19062)
       at android.view.ViewGroup.drawChild(ViewGroup.java:4236)
       at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4022)
       at android.view.View.draw(View.java:19195)
       at android.support.v4.view.ViewPager.draw(ViewPager.java:2420)
       at android.view.View.draw(View.java:19062)
       at android.view.ViewGroup.drawChild(ViewGroup.java:4236)
       at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4022)
       at android.view.View.draw(View.java:19060)
       at android.view.ViewGroup.drawChild(ViewGroup.java:4236)
       at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4022)
       at android.view.View.draw(View.java:19195)
       at android.view.View.draw(View.java:19062)
       at android.view.ViewGroup.drawChild(ViewGroup.java:4236)
       at android.support.v7.widget.RecyclerView.drawChild(RecyclerView.java:4703)
       at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4022)
       at android.view.View.draw(View.java:19195)
       at android.support.v7.widget.RecyclerView.draw(RecyclerView.java:4107)
       at android.view.View.draw(View.java:19062)
       at android.view.ViewGroup.drawChild(ViewGroup.java:4236)
       at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4022)
       at android.view.View.draw(View.java:19060)
       at android.view.ViewGroup.drawChild(ViewGroup.java:4236)
       at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4022)
       at android.support.constraint.ConstraintLayout.dispatchDraw(ConstraintLayout.java:1966)
       at android.view.View.draw(View.java:19060)
       at android.view.ViewGroup.drawChild(ViewGroup.java:4236)
       at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4022)
       at android.view.View.draw(View.java:19060)
       at android.view.ViewGroup.drawChild(ViewGroup.java:4236)
       at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4022)
       at android.view.View.draw(View.java:19060)
       at android.view.ViewGroup.drawChild(ViewGroup.java:4236)
       at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4022)
       at android.view.View.draw(View.java:19060)
       at android.view.ViewGroup.drawChild(ViewGroup.java:4236)
       at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4022)
       at android.view.View.draw(View.java:19060)
       at android.view.ViewGroup.drawChild(ViewGroup.java:4236)
       at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4022)
       at android.view.View.draw(View.java:19060)
       at android.view.ViewGroup.drawChild(ViewGroup.java:4236)
       at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4022)
       at android.view.View.draw(View.java:19060)
       at android.view.ViewGroup.drawChild(ViewGroup.java:4236)
       at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4022)
       at android.view.View.draw(View.java:19195)
       at com.android.internal.policy.DecorView.draw(DecorView.java:788)
       at com.facebook.stetho.inspector.screencast.ScreencastDispatcher$BitmapFetchRunnable.updateScreenBitmap(ScreencastDispatcher.java:104)
       at com.facebook.stetho.inspector.screencast.ScreencastDispatcher$BitmapFetchRunnable.run(ScreencastDispatcher.java:74)
       at android.os.Handler.handleCallback(Handler.java:790)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loop(Looper.java:164)
       at android.app.ActivityThread.main(ActivityThread.java:6494)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
@coutliuxing
Copy link

me to !!! Android O

@ar-g
Copy link

ar-g commented Dec 24, 2018

same on Motorolla

@jhwsx
Copy link

jhwsx commented Oct 10, 2019

Can this be solved?

@AntimKhel
Copy link

Hi, Is there any resolution for this issue?

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

5 participants