Could not find

  • What went wrong:
    A problem occurred evaluating project ‘:app’.

Could not resolve all files for configuration ‘classpath’.
Could not find
Searched in the following locations:
Required by:
unspecified:unspecified:unspecified >

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

  • Get more help at

cmd: Command failed with exit code 1


May I know what are version of:

  1. google-services
  2. android gradle plugin

that you specified in build.gradle?

If you are using firebase messaging, what is the firebase-messaging version you specified in your build.gradle as well?

If you using cordova-plugin-fcm, you can check this file bellow,

platforms > android > cordova-plugin-fcm > ***.gradle

Then add

maven { url “” }


Final code would be like this:

buildscript {
    repositories {
        maven { url "" }
    dependencies {
        classpath ''
        classpath ''
// apply plugin: ''
// class must be used instead of id(string) to be able to apply plugin from non-root gradle file
apply plugin:

This is what works for me.

I added maven { url “” } and it build successfully but when I installed my app using both emulator and real android device, the app does not open. It keeps on crashing even before the splash screen shows up. The app is not starting at all.