I’m having this same problem now with cordova-plugin-firebase (actually I was using this fork but I’ve tried the original again and have the same problem)
The library com.google.firebase:firebase-iid is being requested by various other libraries at [[17.1.1,17.1.1]], but resolves to 19.0.0
@mixmatric, what solution worked for you in the end? Does it still work? What versions of the various packages are you using?
I’ve tried cordova:cordova-android-support-gradle-release@1.4.5 but get the error
cordova-android-support-gradle-release: Android platform: cordova-android@7
cordova-android-support-gradle-release: ERROR: EXCEPTION: TypeError: Cannot read property ‘length’ of undefined
I tried cordova-android-support-gradle-release@3.0.1 but get the error:
cordova-android-support-gradle-release: Unable to load node module dependency ‘q’: Cannot find module 'q’
I’ve tried editing the project.properties file with the version number above but still get lots of errors
@perumalkuk, how am I supposed to find the correct version of cordova-android-support-gradle-relese? Or what versions number am I support to pass in mobile-config, and how? I’ve done that previously in other apps, e.g.
<plugin name="cordova-plugin-mauron85-background-geolocation" spec="^3.0.0-alpha.50">
<variable name="GOOGLE_PLAY_SERVICES_VERSION" value="15+" />
<variable name="ANDROID_SUPPORT_LIBRARY_VERSION" value="26+" />
</plugin>
But what values should be used for cordova-plugin-firebase?
This is extremely frustrating. I used to be able to build android apps easily but now I’m stuck not being able to update my app at all! And I’ve recommended meteor here on the forums as an easy way to develop apps. There are other forks of cordova-plugin-firebase and other similar packages but many of them require more recent versions for cordova or have these same issues.