Question: how to send data from android app to firebase?
Answer: Open the URL – https://console.firebase.google.com.
Then click on “Add Project”.
Enter the Firebase Project name and accept the conditions and then proceed with clicking on “Continue” button.
On the next Welcome screen, click on “Add Firebase to your Android app“. ... 
Download the google-services.