Android D/FirebaseInstanceId:后台同步失败:无效的\u参数

Android D/FirebaseInstanceId:后台同步失败:无效的\u参数,android,firebase-cloud-messaging,Android,Firebase Cloud Messaging,尝试使用FCM注册令牌,连接正常,但出现以下错误: Client not ready yet..Waiting for process to come online Connected to process 13635 on device emulator-5554 D/FirebaseInstanceId: background sync failed: INVALID_PARAMETERS, retry in 10s D/FirebaseInstanceId: background sync

尝试使用FCM注册令牌,连接正常,但出现以下错误:

Client not ready yet..Waiting for process to come online
Connected to process 13635 on device emulator-5554
D/FirebaseInstanceId: background sync failed: INVALID_PARAMETERS, retry in 10s
D/FirebaseInstanceId: background sync failed: INVALID_PARAMETERS, retry in 20s

记住要使安装干净。我也有类似的问题,我已经通过卸载并在真实设备上重新启动解决了这个问题。Firebase需要在首次启动时注册设备

我也遇到了同样的问题,我通过在AndroidManifest.xml文件中添加下面的代码就解决了这个问题

<application android:label="My APP Name" android:icon="@mipmap/icon">


<receiver android:name="com.google.firebase.iid.FirebaseInstanceIdInternalReceiver" android:exported="false" />
<receiver android:name="com.google.firebase.iid.FirebaseInstanceIdReceiver" android:exported="true" android:permission="com.google.android.c2dm.permission.SEND">
  <intent-filter>
    <action android:name="com.google.android.c2dm.intent.RECEIVE" />
    <action android:name="com.google.android.c2dm.intent.REGISTRATION" />
    <category android:name="${applicationId}" />
  </intent-filter>
</receiver>


入住real Device在此处尝试了这两个建议,但仍然遇到相同的问题。还有什么我需要检查的吗?