I\'m trying to enable debug logging for Firebase analytics in Android Studio. I have tried following the instructions found here and still don\'t see the logs I expect: http
Something that are maybe obvious to most people, but took me awhile to learn:
adb root
did not work on my physical device.1) Install your debug application
2) Go to setting -->>Developer option-->>Select debug app-->> your app.
3) Go to firebase console check the event
Make sure you run the adb shell setprop log.tag.FA VERBOSE
and then you restart the app. Enabling logs only works for future logs. If you have more then one device or emulator attached to the computer you might need to tell adb which one you are setting the property for. You can read the current adb properties with adb shell getprop
. You should see log.tag.FA
property set to VERBOSE
. Once you set the log.tag.FA
property it will persist until you restart the device so you only need to do that once after the device reboots.
Please try to do this after input "adb root".