I receive this error:
[cordova] * What went wrong: [cordova] The library com.google.android.gms:play-services-measurement-base is being reques
I also had the same problem for days. I can not adjust the versions. Then today, when I look back to repo's issues page, I saw that some plugin named cordova-plugin-firebasex solves this and more issues.
Maybe you can check it out.