Google Play services out of date. Requires 10084000 but found 9879470. Can't update
<p>I am making an android app with Firebase. These are the lines causing problems:</p>

<pre><code>dependencies {
    compile 'com.google.firebase:firebase-core:10.0.1'
    compile 'com.google.firebase:firebase-auth:10.0.1'
</code></pre>

<p>I get this error:</p>

<pre><code>Google Play services out of date.  Requires 10084000 but found 9879470. 
</code></pre>

<p>I run the app on an emulator. It doesn't seem possible to update GPS on the emulator, since it doesn't have Google Play Store.</p>

<p>In SDK Manager, it says the version of Google Player services is 38.</p>

<p>There is no apparent way to update this either.</p>