I think it could be one of two possible reasons. Firstly don't define your variable name as ActionBar as I believe it is a reserved word. Second option maybe that you need to update your AppCompat library?
I think it could be one of two possible reasons. Firstly don't define your variable name as ActionBar as I believe it is a reserved word. Second option maybe that you need to update your AppCompat library?