Enable debug logging firebase analytics

后端 未结 4 1667
再見小時候
再見小時候 2021-01-11 09:23

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

相关标签:
4条回答
  • 2021-01-11 09:35

    Something that are maybe obvious to most people, but took me awhile to learn:

    • this does require root, adb root did not work on my physical device.
    • an emulator will give you root, but...
    • be sure you create your emulator with an image that contains Google API's, so that it will have play services.
    0 讨论(0)
  • 2021-01-11 09:45

    1) Install your debug application

    2) Go to setting -->>Developer option-->>Select debug app-->> your app.

    3) Go to firebase console check the event

    0 讨论(0)
  • 2021-01-11 09:51

    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.

    0 讨论(0)
  • 2021-01-11 09:53

    Please try to do this after input "adb root".

    0 讨论(0)
提交回复
热议问题