This question already has an answer here:
What is a NullPointerException, and how do I fix it?
You never set the
client variable to be anything. It is only created and never assigned to a new GoogleApiClient until you set up your other stuff (from what I can tell).