If you receiving the Error inflating class fragment
error then you have some kind of problem with the way you reference the needed libraries. Take a look at this blog post i wrote and go over the first 4 section of it:
If you have committed this, and still have a problem.
Try to re-download and move the google-play-service
lib to a different location where it's path would be shorter and then reference it again.