【发布时间】:2015-04-20 16:09:52
【问题描述】:
我正在将我的 App Engine Connected Android Project 从 Eclipse 转移到 Android Studio。当然,这一切都适用于 Eclipse。但 Gradle 没有找到我的 gcm 文件。我将适当的依赖项拉为
compile "com.google.android.gms:play-services:3.1.+"
但我的导入仍然没有找到
import com.google.android.gcm.GCMBaseIntentService;
import com.google.android.gcm.GCMRegistrar;
是否有一种新的通知方式,这就是我的代码不起作用的原因吗?
【问题讨论】:
标签: android android-studio google-cloud-messaging