buildscript {
// ...
dependencies {
// ...
// Add the following line:
classpath 'com.google.gms:google-services:4.2.0' // Google Services plugin
}
}
apply plugin: 'com.android.application'
android {
// ...
}
// Add the following line to the bottom of the file:
apply plugin: 'com.google.gms.google-services' // Google Play services Gradle plugin
apply plugin: 'com.android.application'
android {
// ...
}
// Add the following line to the bottom of the file:
apply plugin: 'com.google.gms.google-services' // Google Play services Gradle plugin
apply plugin: 'com.android.application'
android {
// ...
}
// Add the following line to the bottom of the file:
apply plugin: 'com.google.gms.google-services' // Google Play services Gradle plugin
dependencies {
// ...
implementation 'com.google.firebase:firebase-core:16.0.8'
// Getting a "Could not find" error? Make sure that you've added
// Google's Maven repository to your root-level build.gradle file
}
android.gradlePlugin=apply plugin: 'com.google.gms.google-services';
android.gradleDep=compile 'com.google.gms:google-services:4.2.0'; implementation 'com.google.firebase:firebase-core:16.0.8';
FAILURE: Build failed with an exception.
* Where:
Build file '/tmp/build812279652249867934xxx/MyApplication/build.gradle' line: 2
* What went wrong:
A problem occurred evaluating root project 'MyApplication'.
> Plugin with id 'com.google.gms.google-services' not found.
Hi,firebase is added implicitly when using push notification build hints.
--
You received this message because you are subscribed to a topic in the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/codenameone-discussions/qW7rnfVULko/unsubscribe.
To unsubscribe from this group and all its topics, send an email to codenameone-discu...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/c7d84342-7c13-409a-916a-a100461d4e67%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.