Google Play Services example: “connectionResult cannot be resolved”
问题 when I'm trying to follow the example on how to check if Google Play Services is installed I receive the following error: "connectionResult cannot be resolved" in the line inside servicesConnected method int errorCode = connectionResult.getErrorCode(); What can be missing? I'm copying and pasting it. I'm following the example here Thanks! 回答1: It's a bug in the example. Use this instead: } else { // Get the error code // Get the error dialog from Google Play services Dialog errorDialog =