Skip to content
Coding Fanatic
  • Android Development
  • News and Reviews
  • Road2Pro
  • Tutorials
  • Services
  • About

Firebase Fiasco, 70 of 100 Days of Code

  • July 16, 2020July 17, 2020
  • by Richard Clarke

I almost set up Firebase for a project but I’m missing a directory.

You can find a video of this at the bottom of the page.

I created an empty Android app for learning Firebase. I figured a blank slate will be easier to start with.

I started by refactoring the project and moving it to a different folder on my hard drive. I saved it to the wrong folder by accident and wanted it in the right place before I got started.

After this I created the Firebase project, registered my app, and added the Firebase configuration file to the project.

The majority of this was done by logging into the Firebase console. From there, I had the option of creating the project and acquiring the files needed for my app to sync with the realtime database (click below)

I copied the necessary lines of code into the app module build.gradle file and synced the project. It appears I need to do the same thing with the root directory build.gradle file as well. The problem is, my app module is the only directory with a gradle file. (click below)

The setup is straightforward. Most of it is copying and pasting code or downloading files. It looks like I made a mistake while moving the app across directories. This caused some files to go missing in the process.

I’ll try again with a new empty project and this time, I won’t move anything. If I have the needed directories from the start, then I can try setting up Firebase again.

Join the mailing list to see updates like this every week!
Coding Fanatic

Related

Learning Backend with Firebase, 69 of 100 Days of Code
Firebase Flawless Victory! 71 of 100 Days of Code
Richard Clarke
Richard is currently a developer using Java and Android Studio to build custom applications for Android. Richard tutored in mathematics at Montgomery College, and worked in Information Technology before entering the Software Development industry as a Quality Engineer.
100daysofcode Android AndroidDev Console Firebase Firebase Console Google Java software software development

Related articles

Your New Favorite Stopwatch App!…
Two for Two BABY! 7…
…But the App is for…
Play Store Blues – 5…
Top 4 Tips for Android…
No Dice – 3 of…

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Join the mailing list!

This field is required.

Check your inbox or spam folder to confirm your subscription.

Follow me on social media!

  • GitHub
  • YouTube
  • X
  • Instagram
  • LinkedIn
My Tweets

Join the mailing list!

This field is required.

Check your inbox or spam folder to confirm your subscription.

Follow me on social media!

  • X
  • GitHub
  • LinkedIn
  • YouTube

Archives

Theme by Colorlib Powered by WordPress