[Firebase Mobile] Error while generating build Android

Forge Component
Published on 17 Jul by David Sousa
15 votes
Published on 17 Jul by David Sousa

Hey Guys,

I'm having the same error as assif_tiger was having the other day:
"the following errors have occurred:• In Android on 2019-06-24 at 13:26:23 - Error installing Cordova plugin: cordova-plugin-firebase': Error: ENOENT: no such file or directory, scandir '/opt/NativeBuilder/builds/cf6a93e2-6644-46e6-819a-043da400bbc3/source/platforms/android/assets/www/google-services."

Now here is the thing, the last time I successfully generated this build was on the 10th of July (with firebase), I then added a few things from the AndroidPermissionPlugin and KeyStorePlugin and I started having this issue.
I already tried removing all the references to those espaces but I keep having the same error. Regardless of that, I don't think it's a compatibility issue, since it generates those successfully but then, it can not find the directory for the android cordova.

So I went to https://github.com/TruewindIT/cordova-plugin-firebase#1.5 (which is the plugin URL on the FirebaseMobile espace), and noticed there were a few changes 13 / 12 days ago (that is after my last successful build and before my failed ones).
Would it be possible that some of those changes broke the apk generation for me?

I am using Outsystems version 10 for this. IOS generates fine, its just android that is having the issue.

Best Regards,
Jose Torrao


Hey José,

If you are using the plugin which references https://github.com/TruewindIT/cordova-plugin-firebase#1.5 and started having issues with Firebase Mobile, it most probably means that you're building the APK using the new version of MABS (v5).

Any code change in the github repository wouldn't have affected the 1.5 release.

If you update the Firebase Mobile plugin to the latest version (which references a later release on github) you'll be able to build the APK using the latest MABS version.

Can you please try it and check if it works?




Hey David,

That worked! Thank you!

Best Regards,

Jose Torrao