问题描述:

This question already has an answer here:

  • What is a NullPointerException, and how do I fix it?

    12 answers

网友答案:

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).

相关阅读:
Top