I am creating a simple static application in android studio. When I tried to run the application using USB debugging option, It crashed and showed two errors in logcat: Screenshot of logcat
I am new to android studio and it is my first project, please help me in debugging this error. Here is the screenshot for the MainActivity Java code where the error is supposed to be: JAVA MainActivity