title: import com.google.android.gms.location.LocationClient cannot be resolved
body: <p>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.</p>
  
  <p>But I didn't know why this error still occurs.</p>
  
  <pre><code>import com.google.android.gms.location.LocationClient;  --&gt;import cannot be resolved
  
  
  public class Main extends Activity implements
          GooglePlayServicesClient.ConnectionCallbacks,
          GooglePlayServicesClient.OnConnectionFailedListener {
  
  private LocationClient mLocationClient;   ---&gt;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);
  
  }
  }
  </code></pre>
  
  <p>In <strong>Console:</strong> </p>
  
  <p>I am getting this, No resource found that matches the given name (at 'value' with value '@integer/google_play_services_version').</p>
  
  <p><strong>Manifest:</strong></p>
  
  <pre><code> &lt;uses-sdk
      android:minSdkVersion="16"
      android:targetSdkVersion="21" /&gt;
  
     &lt;application
          android:allowBackup="true"
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name"
          android:theme="@style/AppTheme" &gt;
          &lt;meta-data
              android:name="com.google.android.gms.version"
              android:value="@integer/google_play_services_version" /&gt;
  
  ........
  &lt;/application&gt;
  </code></pre>
  
  <p><strong>Edit:</strong></p>
  
  <p><img src="https://i.stack.imgur.com/UT48D.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/8oBt6.png" alt="enter image description here"></p>
  
  <p>Anybody can help me with this.Thanking you.</p>