Ionic 3 with firebase messaging

Hello,
I am trying to add Firebase messaging in my app, to do so I follow:
https://angularfirebase.com/lessons/ionic-native-with-firebase-fcm-push-notifications-ios-android/
and run the commands

  1. ionic cordova plugin add cordova-plugin-firebase
  2. npm install --save @ionic-native/firebase
    Then I added in my code use in: FirebaseMessaging
    connected a phone to the pc and run: “ionic cordova run android”
    The error I received is:

Could not find support-media-compat.aar (com.android.support:support-media-compat:26.1.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/support/support-media-compat/26.1.0/support-media-compat-26.1.0.aar
Could not find support-core-utils.aar (com.android.support:support-core-utils:26.1.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/support/support-core-utils/26.1.0/support-core-utils-26.1.0.aar
The error is clear, when accessing the links I receive 404, How can I solve it?