Same problem here. Seems to be happening starting today with new firebase 12.0.0 library. Before that, previous release 11.8.0 works just fine. Still trying to figure out what’s wrong, but from the change history, some firebase libraries now referencing to same library name 'com.google.android.gms.license’
Same problem here. Unable to build app for android platform. Uses FCM. The contents of starter-FCMPlugin.gradle file is:
buildscript {
repositories {
jcenter()
mavenLocal()
}
dependencies {
classpath 'com.android.tools.build:gradle:+'
classpath ‘com.google.gms:google-services:3.0.0’
}
}
// apply plugin: ‘com.google.gms.google-services’
// class must be used instead of id(string) to be able to apply plugin from non-root gradle file
apply plugin: com.google.gms.googleservices.GoogleServicesPlugin
In my case, I managed to solve it by aligning all version of com.google.firebase in ‘platforms/android/project.properties’ to older version such as below:
Also, any includes, e.g. (cordova-plugin-firebase/android-build.gradle) should also be changed as above. This might be temporary solution until managed to figure out what’s wrong with version 12.0.0 release.
content of my project.properties, I had tried to change + to 11.8.0 for all libraries, but of no avail.
Am i doing it wrong, reply would be much appreciated.