Help on "Build Basic Android Apps with Java" Capstone Project

Hi! I’ve been working on the Java project and for a while have been getting logic errors. The system/runtime reads none, and Android Studio keeps giving me “Success” messages. However, every time I attempt to open my “Unquote” app, it crashes. :frowning: This is very irritating and I’ve spent hours trying to figure out the problem to no avail. I’m not very experienced and can’t read debugging/logcat messages well.

Could anyone offer some advice?

Here’s my logcat error messages:

2021-04-01 21:05:20.727 23710-23763/com.codecademy.unquote E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008cdf
2021-04-01 21:05:20.728 23710-23763/com.codecademy.unquote E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008cdf
2021-04-01 21:05:20.729 23710-23763/com.codecademy.unquote E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008824
2021-04-01 21:05:20.730 23710-23763/com.codecademy.unquote E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008824
2021-04-01 21:05:20.765 23710-23710/com.codecademy.unquote E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.codecademy.unquote, PID: 23710
java.lang.RuntimeException: Canvas: trying to draw too large(206483200bytes) 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:19123)
at android.view.View.updateDisplayListIfDirty(View.java:18073)
at android.view.View.draw(View.java:18851)
at android.view.ViewGroup.drawChild(ViewGroup.java:4214)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4000)
at androidx.constraintlayout.widget.ConstraintLayout.dispatchDraw(ConstraintLayout.java:1975)
at android.view.View.draw(View.java:19126)
at android.view.View.updateDisplayListIfDirty(View.java:18073)
at android.view.View.draw(View.java:18851)
at android.view.ViewGroup.drawChild(ViewGroup.java:4214)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4000)
at android.view.View.updateDisplayListIfDirty(View.java:18064)
at android.view.View.draw(View.java:18851)
at android.view.ViewGroup.drawChild(ViewGroup.java:4214)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4000)
at android.view.View.updateDisplayListIfDirty(View.java:18064)
at android.view.View.draw(View.java:18851)
at android.view.ViewGroup.drawChild(ViewGroup.java:4214)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4000)
at android.view.View.updateDisplayListIfDirty(View.java:18064)
at android.view.View.draw(View.java:18851)
at android.view.ViewGroup.drawChild(ViewGroup.java:4214)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4000)
at android.view.View.updateDisplayListIfDirty(View.java:18064)
at android.view.View.draw(View.java:18851)
at android.view.ViewGroup.drawChild(ViewGroup.java:4214)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4000)
at android.view.View.draw(View.java:19126)
at com.android.internal.policy.DecorView.draw(DecorView.java:785)
at android.view.View.updateDisplayListIfDirty(View.java:18073)
at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:643)
at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:649)
at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:757)
at android.view.ViewRootImpl.draw(ViewRootImpl.java:2980)
at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2794)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2347)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1386)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6733)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:911)
at android.view.Choreographer.doCallbacks(Choreographer.java:723)
at android.view.Choreographer.doFrame(Choreographer.java:658)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:897)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6541)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)

Hello @ramines7394140636 , welcome to the forums! Could you please post your Java code that is throwing the error? Remember to format it correctly: see this post.

I have the exactly same problem as the OP - I also posted my question without knowing the OP did so. Unquote Capstone Project: Unquote App crashing and not displaying anything

Sorry for riding on this post, but should I fix the crashing app on the step 3-I first or should I go ahead with next steps? I am not sure if I should wait for the answer to come. I have been googling a lot to no avail.