Após executar o segundo passo da configuração do Firebase add FCM to your app, mostra mensagem 'Dependencies set up correctly'
No entanto, A classe AgendaInstanceIDService não consegue fazer extends FirebaseInstanceService.
Ao compilar o projeto o Gradle apresenta o erro "The library com.google.android.gms:play-services-basement is being requested by various other libraries at [[15.0.1,15.0.1]], but resolves to 16.0.1. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies."
gradledependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'com.android.support:appcompat-v7:28.0.0' implementation 'com.android.support:cardview-v7:28.0.0' implementation 'com.android.support:support-v4:28.0.0' implementation 'com.google.android.gms:play-services-maps:16.0.0' implementation 'com.google.android.gms:play-services-location:16.0.0' implementation 'com.squareup.retrofit2:retrofit:2.4.0' implementation 'com.squareup.retrofit2:converter-jackson:2.4.0' implementation 'com.squareup.okhttp3:logging-interceptor:3.11.0'
implementation 'com.google.firebase:firebase-messaging:17.0.0:15.0.0'
}
public class AgendaInstanceIDService extends FirebaInstanceService {
}