Cannot resolve symbol 'LocationRequest' Android project
<p>I'm new on Android programming, I try to use the new Location Service for getting the user position, to do this i follow the official android developer guide but I don't understand why I'm not able to import LocationRequest in my fragment class. </p>

<pre><code>import com.google.android.gms.location.LocationRequest; 
</code></pre>

<p>here is my Gradle app file:</p>

<blockquote>
  <p>build.gradle</p>
</blockquote>

<pre><code> ..
   compile 'com.android.support:appcompat-v7:24.2.1'
   compile 'com.android.support:design:24.2.1'
   compile 'com.android.support:palette-v7:24.2.1'
   compile 'com.android.support:cardview-v7:24.2.1'
   compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha9'
   compile 'com.google.code.gson:gson:2.6.2'
   compile 'com.android.volley:volley:1.0.0'
   compile 'com.android.support:support-v4:24.2.1'
   compile 'com.google.android.gms:play-services-maps:9.8.0'
 }
</code></pre>

<p>and this is what I include in my Manifest file</p>

<blockquote>
  <p>AndroidManifest.xml</p>
</blockquote>

<pre><code>...
&lt;uses-permission android:name="android.permission.INTERNET" /&gt;
&lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
&lt;uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /&gt;
&lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /&gt;
...
</code></pre>

<p>what i do wrong?</p>