How to solve "Failed to locate the Google Cloud Messaging" in ADF Mobile deployment

If you are trying to deploy to an Android device with the new Oracle ADF Mobile 11.1.2.4 release there is a good chance that you'll run into a situation where your deployment will fail with the message -

Failed to locate the Google Cloud Messaging for Android Library file named "gcm.jar"


I'm very sorry but nowadays it does not work since Google cloud messaging for android library is reported as deprecated by Android SDK


I recently had this issue and also could not install the GCM library from the Android SDK manager (Android 4.4 API 19). As per a previous comment, I resolved as follows:

1) Downloaded gcm_r03.zip from link: https://dl-ssl.google.com/android/repository/gcm_r03.zip
2) Created a folder titled “google” in Android SDK ”extras” folder, i.e., “…./sdk/extras/google"
3) Extracted gcm_r03 files to new “google” folder
4) Renamed extracted gcm_R03 folder to gcm, i.e., “…/sdk/extras/google/gcm

This new folder will contain the following three folders: gcm-client, gcm-server, and samples. Everything worked after that.


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值