Firebase Android-消息发送失败

Firebase Android-消息发送失败,android,firebase,firebase-cloud-messaging,Android,Firebase,Firebase Cloud Messaging,我是Android开发新手。我随后使用Firebase启用推送通知。使用FCM注册令牌消息向我的模拟器发送通知失败,我不确定原因 日志中显示FirebaseAuth未链接(在下面的代码段中提供) 有人能帮我解决这个问题吗 谢谢 遵循以下步骤:- 1) set your emulator target to Google API 2) add google account to your emulator: setting->account&sync-> Add accoun

我是Android开发新手。我随后使用Firebase启用推送通知。使用FCM注册令牌消息向我的模拟器发送通知失败,我不确定原因

日志中显示FirebaseAuth未链接(在下面的代码段中提供)

有人能帮我解决这个问题吗


谢谢

遵循以下步骤:-

1) set your emulator target to Google API 
2) add google account to your emulator:
setting->account&sync-> Add account 

按照以下步骤操作:-

1) set your emulator target to Google API 
2) add google account to your emulator:
setting->account&sync-> Add account 

嗨,黛比。你能把你现在的实际代码发出来吗?另外,你能详细说明一下问题是什么吗?您提到令牌消息失败,但日志指出Firebase Auth?干杯嗨,黛比。你能把你现在的实际代码发出来吗?另外,你能详细说明一下问题是什么吗?您提到令牌消息失败,但日志指出Firebase Auth?干杯