【发布时间】:2016-11-26 15:26:12
【问题描述】:
我有一个适用于 Android SDK 19 的应用程序,它是为使用 C2DM 而编写的。我需要将它迁移到 GCM。我面临下一个问题:
- 实际上没有 /extras/google/google_play_services/libproject/google-play-services_lib/ 文件夹。据我从here 了解到,它已被 Google Repository 库取代并分成不同的部分
- GCM 位于过时的库中Google Cloud Messaging
- 我有一些 google-play-services_lib(从某处下载 android:versionCode="3265130" android:versionName="3.2.65 (834000-30)" uses-sdk android:minSdkVersion="8")但是当我尝试将此库导入我收到java.lang.ClassNotFoundException error after build on TeamCity side 的项目中
问题是:
- 如果我将这个旧库包含到我的项目中,是否有可能在新的 Android 操作系统下使用旧的 google-play-services_lib?
- 是否可以通过使用旧的 google-play-services_lib 来使用 GCM?
- 导入 google-play-services_lib 有什么问题?
【问题讨论】:
标签: java android eclipse google-cloud-messaging google-play-services