ARC Welder: “Device does not have package com.google.android.gsf” despite “usePlayServices”: [“gcm”]

左心房为你撑大大i 提交于 2019-12-02 07:41:12

Assuming you are not using the deprecated C2DM (which ARC doesn't support), a possible reason is that you are not using the right way to check GCM availability. If that's the case, please refer to the example in Implementing GCM Client on Android (search for checkPlayServices).

I had this problem, but it appears the solution had nothing to do with GCM. My app was using the RabbitMQ java library though.

The solution was to use Google APIs instead of Android SDK Platfor as the default SDK . This is selected by going to Project Settings -> Project -> Select New [under Project SDK] -> Chose Your Android SDK Home Directory -> Chose the Your Favourite Google API.

Note: the APIs, in case you downloaded them, are normally on the lower half of the Build Target Drop down list in the Create New Android SDK dialog box.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!