NativeScript/nativescript-marketplace-demo

Plugin with id 'com.google.gms.google-services' not found.

blakeyu opened this issue · 1 comments

I am using android sdk 23 API, and google play services rev.38, and google repository rev.43.

Got the following errors:
AILURE: Build failed with an exception.

  • Where:
    Script '/Users/xxxx/Documents/gitworkspace/nativescript/nativescript-marketplace-demo/platforms/android/configuration
    s/nativescript-plugin-firebase/include.gradle' line: 45

  • What went wrong:
    A problem occurred evaluating script.

Plugin with id 'com.google.gms.google-services' not found.

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

BUILD FAILED

I used the same environment to run another app with firebase, it's working fine. not sure what's wrong with this app, I checked and followed the firebase plugin guide for all the setting, Not sure if the app require the android sdk 25 API or not?

Any suggestion?

After updated the lastest google play service, and commented out the following code because it's require 10.2.+, it's working with android now.

//project.ext {
// googlePlayServicesVersion = "10.0.+"
// }