我不知道我做错了什么,以下代码效果很好
FirebaseInstanceId.getInstance().getToken("12", "FCM");
FirebaseInstanceId.getInstance().getToken("11", "FCM");
但另一个
FirebaseInstanceId.getInstance().getToken("8", "FCM")
抛出有关INVALID_SENDER的IOException
全部来自堆栈跟踪
W/System.err: java.io.IOException: INVALID_SENDER
at com.google.firebase.iid.zzo.zza(Unknown Source)
at com.google.firebase.iid.zzo.zza(Unknown Source)
at com.google.firebase.iid.zzr.then(Unknown Source)
at com.google.android.gms.tasks.zzd.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
代码本身在Runnable Thread实例
中运行