使用 Android Developer Studio,我尝试从菜单中为现有的 Android 项目创建 App Engine 后端:
Tools => Google Cloud Tools => Generate App Engine Backend
错误信息是:
Could not find the gcm.jar. Please install the Android SDK Extra : 'Google Cloud Messaging for Android Library' using the Android SDK Manager.
在 Android SDK 管理器中,该库被标记为“已弃用”。那么安装/使用什么才是正确的呢?
最佳答案
“Google Play Services”似乎已经取代了 Google Cloud Messaging,并改为使用:http://developer.android.com/google/gcm/gs.html .也就是说,我安装了已弃用的版本也是为了让应用程序运行。
步骤:
- 工具 => Android => Android SDK 管理器
- 从列表底部选择“Google Play 服务”
- 安装包...
关于java - 创建 App Engine 后端时找不到 gcm.jar 错误 => 建议安装已弃用的库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18967976/