Firebase Analytics Debug View does not show anything

I linked my Android app with Firebase using Android Studio Which created and set my google-service.json into my project.

When i debug my event logging in logcat i got :

V/FA-SVC: Successful upload. Got network response. code, size: 204, 0

But nothing is showing into firebase console debug view


Solution 1:

Test device setup

To enable sending of DebugView data on a connected Android test device for a configured Firebase Analytics app, you can follow the step below:

  1. If you are simply working with single build variant, the following command is enough:

    adb shell setprop debug.firebase.analytics.app [your_app_package_name]
    
  2. But if you are working with multiple build variants with different application IDs which are not the same as the app package name, be sure to execute the following command:

    adb shell setprop debug.firebase.analytics.app [your_application_id]
    

    Here, application ID is the app ID of your build variant found in the corresponding gradle file. For example, lets say you have x.gradle and y.gradle for two build variants x and y, and you also have the general build.gradle file. To debug the build variant x with application ID com.abc.x, the command will be:

    adb shell setprop debug.firebase.analytics.app com.abc.x
    

    Similarly, to debug the build variant y with application ID com.abc.y, the command will be:

    adb shell setprop debug.firebase.analytics.app com.abc.y
    

This behavior persists until you explicitly disable it by executing the following command:

adb shell setprop debug.firebase.analytics.app .none.

Solution 2:

After performing steps from Enabling debug mode, make sure that date and time on your debug device or emulator and on your PC is correct.

If after correcting the date and time events are still not showing on DebugView, clear the app storage. Then restart the app and try again.

Solution 3:

  1. Run your app in debug mode
  2. Goto Developer Options -> Select debug app -> Select

You will see your device listed in Firebase DebugView