Open StephanMeijer opened 6 years ago
The issue is still open.
Did you install cordova-support-google-services
?
It' mentioned as a dependency in docs however I didn't notice at first and were getting same error.
I have this error too. Installed cordova-support-google-services
version 1.1.0.
I also have this issue. It could be related to recent Google API changes.
I had the same issue with the "full" firebase cordova plugin : https://github.com/arnesson/cordova-plugin-firebase But it works with this fork : https://github.com/dpa99c/cordova-plugin-firebase
Cf "GH-1057-April-05-android-build-issue" branch from this last repository :
Fixes issues cause by Firebase SDK updates on 5 April 2019 [...} which removed deprecated API features causing Android build failures.
I'm not seeing this on a new project currently - is this still a problem?
I have same problem cordova plugin add cordova-support-google-services --save
does not solve the problem in my case.
I'm facing the same issue now.
I created a blank project where this issue can be reproduced. https://github.com/mingyiyangyarris/cordova-plugin-firebase-crashlytics-check.git Could you please help with this issue @ReallySmallSoftware
The environment I have is, Ionic: 3.2.0 Android: 8.1.0 Java 8
@mingyiyangyarris
As readme says, install cordova-support-google-services
dependency. It's not listed in your package.json.
you are right. my bad. Thanks. @piotr-cz.
After install cordova-support-google-services dependency, the small prototype project complied fine. It seems just one line change in plugin build.gradle that matters.
apply plugin: com.google.gms.googleservices.GoogleServicesPlugin
no worries, I missed that line in docs too 😄
cordova-plugin-firebase-crashlytics: