Cannot resolve symbol 'GoogleCloudMessaging' GCM

前端 未结 6 1609
遇见更好的自我
遇见更好的自我 2020-12-03 03:09

I am trying to get GCM working in my app (to notify users when our hours change, or when we have any promos going on), but I keep getting the error Cannot

6条回答
  •  死守一世寂寞
    2020-12-03 03:18

    If you are using Android Studio:

    1) Downloaded the Google Play SDK (using the SDK Manager):

    SDK Manager

    2) Don't forget to click on the "Synch Project with Gradle Files" button

    Synch Project with Gradle Files

    That did the trick for me.

提交回复
热议问题