I have two activities: one with some options and one with a web view. When I try and switch activities to the activity with a WebView, my application keeps crashing in the emulator.
Here is what my logcat says:
2020-04-02 11:16:01.138 8018-8018/com.funnidevelopers.youtubeapp E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.funnidevelopers.youtubeapp, PID: 8018
java.lang.RuntimeException: Canvas: trying to draw too large(276623424bytes) bitmap.
at android.view.DisplayListCanvas.throwIfCannotDraw(DisplayListCanvas.java:229)
Can someone please give me a solution to this error?