GCM register didnot work on my emulator

后端 未结 5 1497
礼貌的吻别
礼貌的吻别 2020-12-16 16:00

I had use GCM service on my app , I did my code after more resarches also from stack overflow members , and when I try to test the code on my emulator I didn\'t find any reg

5条回答
  •  旧巷少年郎
    2020-12-16 16:28

    add google account to your emulator:
    setting->account&sync-> Add account (from @curious_mind comment)

    If the emulator is running Android 4.0.4 or later, this step is optional as GCM does not require an account from this version on.

    for me it fixed the problem.

提交回复
热议问题