I've been trying to integrate my Android app with Firebase. In my first Firebase app (test-26ee4), I had set up the app incorrectly because I was denied permission...
After reading this (Firebase Database Permission denied with read/write permissions set to true), I deleted (test-26ee4) and created a new Firebase app (awesome-etc). However, I noticed that I was getting the same errors.
After placing a log inside MainActivity.java,
mDatabase = FirebaseDatabase.getInstance().getReference();
Log.d("testing", mDatabase.child("1").toString());
I found that the reference is still pointing to my OLD firebase app.
10-16 12:00:06.882 14428-14428/com.example.twu.line D/testing: https://test-26ee4.firebaseio.com/1
The google-services.json reflects that the url should be awesome-etc, but I don't know why my Android app is reading from the google-services.json incorrectly.