I am getting this compile error.I had added the google play services lib in same workspace.Then added the latest sdk(tools,extras) successfully.
But I didn't know why this error still occurs.
import com.google.android.gms.location.LocationClient;  -->import cannot be resolved
public class Main extends Activity implements
        GooglePlayServicesClient.ConnectionCallbacks,
        GooglePlayServicesClient.OnConnectionFailedListener {
private LocationClient mLocationClient;   --->LocationClient cannot be resolved to a type
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
    mLocationClient = new LocationClient(this, this, this);
}
}
In Console:
I am getting this, No resource found that matches the given name (at 'value' with value '@integer/google_play_services_version').
Manifest:
 <uses-sdk
    android:minSdkVersion="16"
    android:targetSdkVersion="21" />
   <application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        <meta-data
            android:name="com.google.android.gms.version"
            android:value="@integer/google_play_services_version" />
........
</application>
Edit:


Anybody can help me with this.Thanking you.