异常android.graphics.BaseCanvas.onHwBitmapInSwMode

时间:2019-06-03 05:41:49

标签: java android crash crash-reports

提供此stackstrace的Play商店。

此崩溃发生在某些具有版本(8.1和9.0)的设备上。但是,如果我手动测试,则无法复制。

我搜索了很多东西。但找不到任何解决方案。

某些设备列表

  • Vivo v7
  • Vivo v7 +
  • Vivo Y81
  • 三星J6,J7,A30,Note 8
  • Redmi Note 5 pro
  • MI A1
  • ......更多
  

java.lang.IllegalArgumentException:在   android.graphics.BaseCanvas.onHwBitmapInSwMode(BaseCanvas.java:593)   在android.graphics.BaseCanvas.throwIfHwBitmapInSwMode   (BaseCanvas.java:600)在   android.graphics.BaseCanvas.throwIfCannotDraw(BaseCanvas.java:80)在   android.graphics.BaseCanvas.drawBitmap(BaseCanvas.java:140)位于   android.graphics.Canvas.drawBitmap(Canvas.java:1504)在   android.graphics.drawable.BitmapDrawable.draw   (BitmapDrawable.java:545)位于android.widget.ImageView.onDraw   (ImageView.java:1342)位于android.view.View.draw(View.java:21869)位于   android.view.View.draw(View.java:21737)在   android.view.ViewGroup.drawChild(ViewGroup.java:4553)位于   android.view.ViewGroup.dispatchDraw(ViewGroup.java:4328)在   android.view.ViewOverlay $ OverlayViewGroup.dispatchDraw   (ViewOverlay.java:251)位于android.view.View.draw(View.java:21884)   在android.view.View.draw(View.java:21737)处   android.view.ViewGroup.drawChild(ViewGroup.java:4553)位于   android.view.ViewGroup.dispatchDraw(ViewGroup.java:4328)在   位于android.view.View.draw的android.view.View.draw(View.java:21872)   (View.java:21737)位于android.view.ViewGroup.drawChild   (ViewGroup.java:4553)位于android.view.ViewGroup.dispatchDraw   (ViewGroup.java:4328)在android.view.View.draw(View.java:21872)在   android.view.View.draw(View.java:21737)在   android.view.ViewGroup.drawChild(ViewGroup.java:4553)位于   android.view.ViewGroup.dispatchDraw(ViewGroup.java:4328)在   android.view.View.draw(View.java:21735)在   android.view.ViewGroup.drawChild(ViewGroup.java:4553)位于   android.view.ViewGroup.dispatchDraw(ViewGroup.java:4328)在   android.view.View.draw(View.java:21735)在   android.view.ViewGroup.drawChild(ViewGroup.java:4553)位于   android.view.ViewGroup.dispatchDraw(ViewGroup.java:4328)在   android.view.View.draw(View.java:21872)在   com.android.internal.policy.DecorView.draw(DecorView.java:1082)在   android.view.ViewRootImpl.drawSoftware(ViewRootImpl.java:4059)位于   android.view.ViewRootImpl.draw(ViewRootImpl.java:3958)在   android.view.ViewRootImpl.performDraw(ViewRootImpl.java:3700)在   android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3011)   在android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1874)在   android.view.ViewRootImpl $ TraversalRunnable.run   (ViewRootImpl.java:8491)在   android.view.Choreographer $ CallbackRecord.run(Choreographer.java:949)   在android.view.Choreographer.doCallbacks(Choreographer.java:761)处   android.view.Choreographer.doFrame(Choreographer.java:696)在   android.view.Choreographer $ FrameDisplayEventReceiver.run   (Choreographer.java:935)位于android.os.Handler.handleCallback   (Handler.java:873)位于android.os.Handler.dispatchMessage   (Handler.java:99)位于android.os.Looper.loop(Looper.java:214)位于   android.app.ActivityThread.main(ActivityThread.java:7058)在   java.lang.reflect.Method.invoke(Method.java)在   com.android.internal.os.RuntimeInit $ MethodAndArgsCaller.run   (RuntimeInit.java:493)在com.android.internal.os.ZygoteInit.main   (ZygoteInit.java:964)

0 个答案:

没有答案