Android:Google云消息传递错误

时间:2016-02-12 16:58:10

标签: android android-studio push-notification google-play google-cloud-messaging

我正在关注一个教程,我已经取消了谷歌gms git存储库。 我导入

时收到错误“无法解析符号android”
import com.google.android.gms.common.ConnectionResult;
import com.google.android.gms.common.GooglePlayServicesUtil;
import com.google.android.gms.gcm.GoogleCloudMessaging;

我更新了Google Play服务。这是我的傻瓜 -

...
compile 'com.google.android.gms:play-services-gcm:8.4.0'
}

我哪里错了?

2 个答案:

答案 0 :(得分:1)

答案 1 :(得分:1)

检查基础包并确保更新了gradle

相关问题