This is the java file that is giving the error
package com.example.daksh.timetable; import android.support.v7.app.AppCompatActivity; import
To be more generic about the answer provided by @P Fuster. There can be error in your xml files.
I encountered the same error and was having error in the drawable where end tag was missing.