Getting error message "Could not find com.google.gms:google-services:2.0.0-alpha6."
<p>I am trying google analytic in my project. but found following error message after changing build.gradle file.</p>

<p>Error:Could not find com.google.gms:google-services:2.0.0-alpha6.
Searched in the following locations:
    file:/home/vaibhav/android-studio/gradle/m2repository/com/google/gms/google-services/2.0.0-alpha6/google-services-2.0.0-alpha6.pom
    file:/home/vaibhav/android-studio/gradle/m2repository/com/google/gms/google-services/2.0.0-alpha6/google-services-2.0.0-alpha6.jar
    <a href="https://repo1.maven.org/maven2/com/google/gms/google-services/2.0.0-alpha6/google-services-2.0.0-alpha6.pom" rel="nofollow">https://repo1.maven.org/maven2/com/google/gms/google-services/2.0.0-alpha6/google-services-2.0.0-alpha6.pom</a>
    <a href="https://repo1.maven.org/maven2/com/google/gms/google-services/2.0.0-alpha6/google-services-2.0.0-alpha6.jar" rel="nofollow">https://repo1.maven.org/maven2/com/google/gms/google-services/2.0.0-alpha6/google-services-2.0.0-alpha6.jar</a>
Required by:
    :MaterialTabs-master:unspecified</p>

<p>where I 
1. Add the dependency to your project-level build.gradle: </p>

<p>classpath 'com.google.gms:google-services:2.0.0-alpha6'</p>

<p>2.Add the plugin to your app-level build.gradle:</p>

<p>apply plugin: 'com.google.gms.google-services'</p>

<p>and </p>

<ol start="3">
<li>add a dependency for Google Play Services. Inside build.gradle add:</li>
</ol>

<p>compile 'com.google.android.gms:play-services-analytics:8.4.0'</p>

<p>Thanks in advance.</p>