[英]Google play game services integration after new update
重要提示 :Play游戏服务API已进行了修改,以支持简化的Google Play服务的Google API客户端编程模型。 自2014年2月7日起,不再推荐使用旧版Games客户端。强烈建议现有和新开发人员使用GoogleApiClient而不是已弃用的GamesClient。
我已经正确导入了google-play-services_lib
, BaseGameUtils
并正确链接了所有内容,但是这样的导入不再起作用:
import com.google.android.gms.games.Games;
The import com.google.android.gms.games.Games can not be resolved
我在将Google Play服务与GamesClient弃用时遇到了真正的麻烦。 尚未将所有用于实施的在线资源修订为新模型。
这是我使用Google Play服务的第一款游戏,而由于几天来的失败,我感到非常沮丧,有人能对新的编程模型及其实现方法有所了解吗?
我拥有最新的Google Play服务库,并在其中import com.google.android.gms.games.Games;
作品..所以您必须更新您的Google Play服务库
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.