gpt4 book ai didi

java - 创建 App Engine 后端时找不到 gcm.jar 错误 => 建议安装已弃用的库

转载 作者:行者123 更新时间:2023-11-30 11:28:12 25 4
gpt4 key购买 nike

使用 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.

Error Screenshot

在 Android SDK 管理器中,该库被标记为“已弃用”。那么安装/使用什么才是正确的呢?

最佳答案

“Google Play Services”似乎已经取代了 Google Cloud Messaging,并改为使用:http://developer.android.com/google/gcm/gs.html .也就是说,我安装了已弃用的版本也是为了让应用程序运行。

步骤:

  1. 工具 => Android => Android SDK 管理器
  2. 从列表底部选择“Google Play 服务”
  3. 安装包...

引用:http://github.com/phonegap-build/PushPlugin/issues/41

关于java - 创建 App Engine 后端时找不到 gcm.jar 错误 => 建议安装已弃用的库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18967976/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com