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

App crashed when open #12

Closed
krabhi1 opened this issue Jan 7, 2023 · 3 comments
Closed

App crashed when open #12

krabhi1 opened this issue Jan 7, 2023 · 3 comments

Comments

@krabhi1
Copy link

krabhi1 commented Jan 7, 2023

Here is the error

java.lang.RuntimeException: Canvas: trying to draw too large(138603712bytes) bitmap.
    at android.view.DisplayListCanvas.throwIfCannotDraw(DisplayListCanvas.java:229)
    at android.view.RecordingCanvas.drawBitmap(RecordingCanvas.java:97)
    at android.graphics.drawable.BitmapDrawable.draw(BitmapDrawable.java:529)
    at android.widget.ImageView.onDraw(ImageView.java:1367)
    at android.view.View.draw(View.java:19218)
    at android.view.View.updateDisplayListIfDirty(View.java:18168)
    at android.view.View.draw(View.java:18946)
    at android.view.ViewGroup.drawChild(ViewGroup.java:4240)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4024)
    at androidx.constraintlayout.widget.ConstraintLayout.dispatchDraw(ConstraintLayout.java:1994)
    at android.view.View.draw(View.java:19221)
    at android.view.View.updateDisplayListIfDirty(View.java:18168)
    at android.view.View.draw(View.java:18946)
    at android.view.ViewGroup.drawChild(ViewGroup.java:4240)
    at androidx.fragment.app.FragmentContainerView.drawChild(FragmentContainerView.java:268)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4024)
    at androidx.fragment.app.FragmentContainerView.dispatchDraw(FragmentContainerView.java:256)
    at android.view.View.updateDisplayListIfDirty(View.java:18159)
    at android.view.View.draw(View.java:18946)
    at android.view.ViewGroup.drawChild(ViewGroup.java:4240)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4024)
    at androidx.constraintlayout.widget.ConstraintLayout.dispatchDraw(ConstraintLayout.java:1994)
    at android.view.View.updateDisplayListIfDirty(View.java:18159)
    at android.view.View.draw(View.java:18946)
    at android.view.ViewGroup.drawChild(ViewGroup.java:4240)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4024)
    at android.view.View.updateDisplayListIfDirty(View.java:18159)
    at android.view.View.draw(View.java:18946)
    at android.view.ViewGroup.drawChild(ViewGroup.java:4240)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4024)
    at android.view.View.updateDisplayListIfDirty(View.java:18159)
    at android.view.View.draw(View.java:18946)
    at android.view.ViewGroup.drawChild(ViewGroup.java:4240)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4024)
    at android.view.View.updateDisplayListIfDirty(View.java:18159)
    at android.view.View.draw(View.java:18946)
    at android.view.ViewGroup.drawChild(ViewGroup.java:4240)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4024)
    at android.view.View.updateDisplayListIfDirty(View.java:18159)
    at android.view.View.draw(View.java:18946)
    at android.view.ViewGroup.drawChild(ViewGroup.java:4240)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4024)
    at android.view.View.draw(View.java:19221)
    at com.android.internal.policy.DecorView.draw(DecorView.java:791)
    at android.view.View.updateDisplayListIfDirty(View.java:18168)
    at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:685)
    at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:691)
    at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:799)
    at android.view.ViewRootImpl.draw(ViewRootImpl.java:3056)
    at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2851)
    at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2404)
    at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1437)
    at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6886)
    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1029)
    at android.view.Choreographer.doCallbacks(Choreographer.java:841)
    at android.view.Choreographer.doFrame(Choreographer.java:772)
    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1015)
    at android.os.Handler.handleCallback(Handler.java:794)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:176)
    at android.app.ActivityThread.main(ActivityThread.java:6651)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:824)
@krabhi1 krabhi1 changed the title App crash when open App crashed when open Jan 7, 2023
@binaryshrey
Copy link
Owner

HI @abhishek44gl,
Could you share the emulator and sdk level details as well, so as to replicate the issue?

@krabhi1
Copy link
Author

krabhi1 commented Jan 23, 2023

sdk level=32
api level=27

@binaryshrey
Copy link
Owner

Thanks, this has been fixed in the latest release

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