2017-01-03 29 views
1

はFCMを使用してトークンを登録しようとしましたが、接続はOKですが、私は次のエラーを取得する:D/FirebaseInstanceId:バックグラウンド同期に失敗しました:INVALID_PARAMETERS

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 
+1

チェックを提出 –

答えて

0

私も同じ問題を持っていたと私はちょうどの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> 

+0

は同じ問題を取得し、ここで、まだ両方の提案をしようとしました。私がチェックしなければならないものは何ですか? – SimonKiteley

0

は、インストールがきれいにすることを忘れないでください。同様の問題があり、私はそれをアンインストールして実際のデバイスで再起動して解決しました。 Firebaseは最初の起動時にデバイスを登録する必要があります。

関連する問題