Firebase不能进入控制台

Firebase不能进入控制台

本文介绍了Firebase不能进入控制台的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在我的项目中实施了Firebase,但是我没有在Firebase控制台中进入。我一直在尝试很多不同的方式。有人有什么想法是什么问题?
我有这样的实现。

  firebaseAnalytics com.google.firebase.analytics.FirebaseAnalytics.getInstance(c); 
Bundle bundle = new Bundle();
// bundle.putString(Category,+ Category);
bundle.putString(FirebaseAnalytics.Param.ITEM_ID,Category);
bundle.putString(FirebaseAnalytics.Param.ITEM_NAME,Category);
bundle.putString(FirebaseAnalytics.Param.CONTENT_TYPE,Category1 +Store);
firebaseAnalytics.logEvent(FirebaseAnalytics.Event.SELECT_CONTENT,bundle);
firebaseAnalytics.setAnalyticsCollectionEnabled(true);`


解决方案

您可以在Firebase控制台信息中心中查看关于您的事件的汇总统计信息。这些仪表盘定期全天更新。

对于即时测试,您可以启用详细日志记录来监视由SDK记录事件,以帮助验证事件是否被正确记录。这包括自动和手动记录的事件。

  adb shell setprop log.tag.FA VERBOSE 
adb shell setprop log .tag.FA-SVC VERBOSE
adb logcat -v time -s FA FA-SVC

此命令在Android Studio logcat中显示您的事件,帮助您立即验证是否正在发送事件。



有关更多信息,请访问适用于Android的Firebase Analytics文档。 / p>

I have implemented firebase in my project, but I am not getting an entry in firebase console. I have been trying so many different ways. Anybody have any idea what's going wrong? i have implement like this.

firebaseAnalytics com.google.firebase.analytics.FirebaseAnalytics.getInstance(c);
    Bundle bundle = new Bundle();
  //  bundle.putString("Category", ""+Category);
    bundle.putString(FirebaseAnalytics.Param.ITEM_ID, Category);
    bundle.putString(FirebaseAnalytics.Param.ITEM_NAME, Category);
    bundle.putString(FirebaseAnalytics.Param.CONTENT_TYPE, Category1+" Store");
    firebaseAnalytics.logEvent(FirebaseAnalytics.Event.SELECT_CONTENT, bundle);
    firebaseAnalytics.setAnalyticsCollectionEnabled(true);`
解决方案

You can view aggregrated statistics about your events in the Firebase console dashboards. These dashboards update periodically throughout the day.

For immediate testing, you can enable verbose logging to monitor logging of events by the SDK to help verify that events are being logged properly. This includes both automatically and manually logged events.

adb shell setprop log.tag.FA VERBOSE
adb shell setprop log.tag.FA-SVC VERBOSE
adb logcat -v time -s FA FA-SVC

This command displays your events in the Android Studio logcat, helping you immediately verify that events are being sent.

For more information, visit the Firebase Analytics documentation for Android.

这篇关于Firebase不能进入控制台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-23 02:35