I just updated my libraries when Android 5.0 got lunched today
one of the files that got updated is android-support-v7. after that I kept getting these errors
If using eclipse make sure you have updated these tools from SDK Manager-
After updating all of them import v7 project and open the project.properties file of the android-support-v7-appcompat and change the target from target=android-19 to target=android-21 .
Clean the project and you are good to go.