Android The import com.google.android.gms.plus.PlusClient cannot be resolved -
i updated , imported google-play-services_lib project , added library project still show same error import com.google.android.gms.plus.plusclient cannot resolved on
import com.google.android.gms.plus.plusclient;
and plusclient cannot resolved type on
private plusclient mplusclient;
plusclient not available in updated play services.
from this link
private googleapiclient buildgoogleapiclient() { // when build googleapiclient specify connected , // connection failed callbacks should returned, google apis our // app uses , oauth 2.0 scopes our app requests. return new googleapiclient.builder(signinactivity.this).addconnectioncallbacks(this) .addonconnectionfailedlistener(this).addapi(plus.api, plus.plusoptions.builder().build()) .addscope(plus.scope_plus_login).build(); }
Comments
Post a Comment