title: Android studio can not resolve com.google.android.gms.location.places.AutocompleteFilter
body: <p>I am trying to implement a autocomplete places search following this article.</p>
  
  <p><a href="http://www.truiton.com/2015/04/android-places-api-autocomplete-getplacebyid/" rel="noreferrer">http://www.truiton.com/2015/04/android-places-api-autocomplete-getplacebyid/</a></p>
  
  <p>I have followed all steps, and also added proper dependencies in my build.gradle file.</p>
  
  <pre><code>dependencies {
  compile fileTree(dir: 'libs', include: ['*.jar'])
  compile 'com.android.support:appcompat-v7:21.0.3'
  compile 'com.google.android.gms:play-services:6.5.87'
  }
  </code></pre>
  
  <p>Also here are the meta data section in my manifest.</p>
  
  <pre><code>    &lt;meta-data
          android:name="com.google.android.gms.version"
          android:value="@integer/google_play_services_version" /&gt;
      &lt;meta-data
          android:name="com.google.android.maps.v2.API_KEY"
          android:value="@string/google_maps_key" /&gt;
  </code></pre>
  
  <p>also I have all the required SDK components installed. Still my android studio can not resolve the <strong>places</strong> part in the following imports:</p>
  
  <pre><code>import com.google.android.gms.location.places.AutocompleteFilter;
  import com.google.android.gms.location.places.AutocompletePrediction;
  import com.google.android.gms.location.places.AutocompletePredictionBuffer;
  import com.google.android.gms.location.places.Places;
  </code></pre>
  
  <p>this is how they look as they can not find the Places part.</p>
  
  <p><img src="https://i.stack.imgur.com/MAHyH.png" alt="enter image description here"></p>
  
  <p>How can I resolve this issue? I am using SDK 19 for my app.</p>