I tried building the following app (https://github.com/scottrules44/firebaseDatabase-demo) with the firebase database plugin in it
plugins =
{
[“plugin.firebaseDatabase”] =
{
publisherId = “tech.scotth”,
},
},
but the following message comes up. I have subscribed and activated the plugin. I have tried building my own app but with the same build settings and the same message comes up, even on other PCs.
A device build error occurred on the server.
Error: Get plugin failed.
Plugin: shared.firebase.core
Publisher: com.coronalabs
User Account: ########@wellington-college.school.nz
BuildID: 59c0457fecfb1
—
Android build failed (5)
I tried building the app on a macbook and the error does not pop up, instead i got the following error message. I think I know how to fix this error (by downloading my own google services json file from my firebase) however even still this is on someone elses macbook and I cannot continue my project using his macbook.
Using custom build id from app bundle: 00000 (AppSettings.lua)
ERROR: Could not create build.properties:
Google Service settings file ‘google-services.json’ does not contain valid JSON. Please download a valid google-services.json from Project Settings in your Firebase control panel.
Android build failed (5) after 0 seconds
ERROR: Build Failed: Error code: 5
What could be the reasons that I am getting the “Get plugin failed” error?
All I want my app to do at the moment is to store data on the online firebase so that multiple phones could use my app and store simple data which they could extract for it. For example I might start of with something simple such as storing people’s names and age when the enter it in a text box.