If you get a solutions would a great idea to adding in @paulishca repo
I encountered this problem with a duplicate google-services being included in my Gradle build.
Iâve created a Cordova plugin that essentially automates @bratelefant 's hack.
You can try it:
meteor add cordova:cordova-plugin-remove-googleservices@0.1.1
It looks through your android project.properties
file and removes anything where the value matches cordova-support-google-services
, and then reindexes all the remaining cordova.gradle.include
entries in the same properties file. This prevents Gradle from including cordova-support-google-services
, which would otherwise have included the line @bratelefant mentions above.
The source repository is here.
( @davideonmeteor )
Great to hear that ! I will try it soon !
Sounds cool, will also give it a shot
Ok just made it work. However, I donât like what we had to do to make it work
We did install :
meteor add cordova:cordova-plugin-remove-googleservices@0.1.1
AND add these to the mobile-config.js
App.setPreference(âGradlePluginGoogleServicesEnabledâ, true);
App.setPreference(âGradlePluginGoogleServicesVersionâ, â4.3.10â);
Without one or the other⌠it did not build!!
Thanks a lot for your help!!
Has anyone fixed the error yet?