ndroid 中添加 Google Ply Gme Services 功能 1(手机怎么用google drive)

大家好!今天让小编来大家介绍下关于ndroid 中添加 Google Ply Gme Services 功能 1的问题,以下是酷知号的小编对此问题的归纳整理,让我们一起来看看吧。

ndroid 中添加 Google Ply Gme Services 功能 1

第一步

https://developers.google.com/games/services/android/quickstart 根据里描述的步骤

先 更新android sdk  Extras 里的Google Play services 到最新版本 否则找不到com.google.android.gms.common.api 这个包

然后就可以导入 sdk目录里的  android-sdksdkextrasgooglegoogle_play_serviceslibprojectgoogle-play-services_lib 了

第二步 

https://github.com/playgameservices/android-samples 下载这个项目源码

导入里面的 eclipse_compat/libraries/BaseGameUtils

再导入里面的 eclipse_compatTypeANumber 

第三步

在google play 开发者账号里 创建 Google Play Game Services游戏

点游戏服务 创建一个新的  在关联的应用里会让你绑定一个应用 你得先添加一个应用 记得打上签名

之后 就可已选则添加的这个应用 了

添加完成后 会看到 给了一个应用id 在TypeANumber 项目的 的 res/values/ids 里 <string name="app_id">应用id</string>

第四步 

在测试里绑定一个账号 

就可以运行了



以上就是小编对于ndroid 中添加 Google Ply Gme Services 功能 1问题和相关问题的解答了,ndroid 中添加 Google Ply Gme Services 功能 1的问题希望对你有用!

文章来自互联网,只做分享使用。发布者:酷知号,转转请注明出处:https://www.kuzhihao.com/article/421430.html

(0)
上一篇 2023年9月11日 17:14
下一篇 2023年9月11日 17:14

相关推荐