You are accessing a null variable in line 111 in file MainActivity2.java .
Check what you wrote there.
From your code it seems that either labelDate is null or date is null.
Verify you have values in them , you can also debug.
In general, it seems best if you do some tutorial from developer.android.com .
solved Crash in application. RuntimeException: Unable to start activity [closed]