Can't resolve com.google.android.gms.plus.Plus class

android, eclipse, google-plus, java

Solution

Thank you NickT. I just updated Google Play Services and the Plus class came with the library.

Problem

I can't seem to resolve the Plus class from the Google Play services library. I've already imported the Google Play library into the project as an Android Library project through Eclipse. I'm also following the basic example from the getting started page. My onCreate is currently this: ``` @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); mGoogleApiClient = new GoogleApiClient.Builder(getActivity()) .addConnectionCallbacks(this) .addOnConnectionFailedListener(this) .addApi(Plus.API, null) .addScope(Plus.SCOPE_PLUS_LOGIN) .build(); } ``` Eclipse flags the Plus class names because it can't resolve them so the code doesn't build.

Original source