title: Firebase Messaging resolve Dependencies Error Ionic
body: <p>I'm getting this error after trying to install Push Notifications with Firebase Cloud Messaging in Ionic 3.
  I haven't downloaded the cordova FCM plugin because according to a tutorial I watched, it shouldn't be necessary.</p>
  
  <p>A problem occurred configuring root project 'android'.</p>
  
  <blockquote>
    <p>Could not resolve all dependencies for configuration ':_debugApkCopy'.
    Could not find com.google.firebase:firebase-messaging:11.0.1.
         Required by:
             project :
    Could not find com.google.firebase:firebase-core:11.0.1.
         Required by:
             project :</p>
  </blockquote>
  
  <p>I have tried all the steps in <a href="https://firebase.google.com/docs/android/setup" rel="nofollow noreferrer">https://firebase.google.com/docs/android/setup</a> and have updated Google Repistory and services as seen here:
  ![Latest Android Stuff Installed]<a href="https://i.imgur.com/vo1GcHP.png" rel="nofollow noreferrer">http://i.imgur.com/vo1GcHP.png</a></p>
  
  <p>Build.gradle</p>
  
  <pre><code>    apply plugin: 'com.android.application'
  
  buildscript {
      repositories {
          mavenCentral()
          jcenter()
      }
  
      dependencies {
          classpath 'com.android.tools.build:gradle:2.2.3'
          classpath 'com.google.gms:google-services:3.1.0'
      }
  }........
      dependencies {
      compile fileTree(dir: 'libs', include: '*.jar')
      // SUB-PROJECT DEPENDENCIES START
      debugCompile(project(path: "CordovaLib", configuration: "debug"))
      releaseCompile(project(path: "CordovaLib", configuration: "release"))
      compile "com.android.support:support-v13:25.1.0"
      compile "me.leolin:ShortcutBadger:1.1.17@aar"
      compile "com.google.firebase:firebase-messaging:11.0.1"
      // SUB-PROJECT DEPENDENCIES END
  }.......
      if (hasProperty('postBuildExtras')) {
      postBuildExtras()
  }
  apply plugin: 'com.google.gms.google-services'
  </code></pre>
  
  <p>I was thinking that this error could possibly be due to the version of Firebase installed versus what the project requires. According to the website, the version 11.2.0 is out whereas my project requires 11.0.1. Similarly, I don't know which version of google-services I should be declaring in my build.gradle file. Please help!</p>