title: Google Play Service with Onesignal error
body: <p>So I added Firebase in my project and then tried to add Onesignal in my project. But I getting this error. </p>
  
  <blockquote>
    <p>Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at <a href="https://bintray.com/android/android-tools/com.google.gms.google-services/" rel="nofollow noreferrer">https://bintray.com/android/android-tools/com.google.gms.google-services/</a>) or updating the version of com.google.android.gms to 10.2.1.</p>
  </blockquote>
  
  <p>My App Level Gradle File :-</p>
  
  <pre><code>  apply plugin: 'com.android.application'
    android {
  compileSdkVersion 24
  buildToolsVersion "24.0.3"
  defaultConfig {
      applicationId "com.kanishq.onesignal"
      minSdkVersion 14
      targetSdkVersion 24
      versionCode 1
      versionName "1.0"
      testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
      manifestPlaceholders = [onesignal_app_id: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
                              // Project number pulled from dashboard, local value is ignored.
                              onesignal_google_project_number: "xxxxxxxxx"]
  }
  buildTypes {
      release {
          minifyEnabled false
          proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
      }
  }
  }
  
  dependencies {
  compile fileTree(dir: 'libs', include: ['*.jar'])
  androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
      exclude group: 'com.android.support', module: 'support-annotations'
  })
  compile 'com.android.support:appcompat-v7:24.2.1'
  compile 'com.android.support:design:24.2.1'
  testCompile 'junit:junit:4.12'
  compile 'com.google.firebase:firebase-database:10.2.1'
  compile 'com.google.firebase:firebase-core:10.2.1'
  compile 'com.onesignal:OneSignal:3.+@aar'
  
  // Required for OneSignal, even if you have added FCM.
  compile 'com.google.android.gms:play-services-gcm:+'
  
  // Required for geotagging
  compile "com.google.android.gms:play-services-location:+"
  
  }
  apply plugin: 'com.google.gms.google-services' } 
  </code></pre>
  
  <p>Project Level Build.gradle :-</p>
  
  <pre><code>// Top-level build file where you can add configuration options common to all sub-projects/modules.
  
  buildscript {
  repositories {
      jcenter()
  }
  dependencies {
      classpath 'com.android.tools.build:gradle:2.2.3'
      classpath 'com.google.gms:google-services:3.0.0'
  
      // NOTE: Do not place your application dependencies here; they belong
      // in the individual module build.gradle files
  }
  }
  
  allprojects {
  repositories {
      jcenter()
  }
  }
  
  task clean(type: Delete) {
  delete rootProject.buildDir
  }
  </code></pre>
  
  <p>I followed Onesignal <a href="https://documentation.onesignal.com/docs/android-sdk-setup" rel="nofollow noreferrer">Documentation- here</a> and Firebase Docs</p>
  
  <p>Help me!! To get Onesignal and Firebase both, and remove this error.
  Thanks</p>