GCM defaultSenderID

前端 未结 6 1136
名媛妹妹
名媛妹妹 2020-12-11 00:02

Could somebody please help me understand what the gcm_defaultSenderId is in the following code (found in onHandleIntent in RegistrationIntentService.java):

I         


        
6条回答
  •  被撕碎了的回忆
    2020-12-11 00:35

    To solve this you just have to add apply plugin: 'com.google.gms.google-services' to your gradle.app module and classpath 'com.google.gms:google-services:1.3.0' to the dependencies of your gradle.app project

    and of course, dont forget to add compile 'com.google.android.gms:play-services-gcm:8.1.0' to your gradle

提交回复
热议问题