您的位置:首页 > 移动开发 > Unity3D

Unity发布GooglePlay游戏的一些注意事项

2016-10-29 20:24 423 查看
以下不时记录一些本主题注意事项(高手请忽略):

1-如果一个游戏包的keystore签名更改了,在设备上覆盖安装带有之前签名的游戏会失败。提示游戏无法安装,必须卸载之前的游戏才能安装。同理,上传到GooglePlay的包签名,如果不是第一次,也必须和上一次的相同。所以,保存好你的keystore文件。

2-游戏在GooglePlay Console上进行配置的一个很大问题在于一个配置生效,需要一定的时间。这包括(主要是影响了我自己):

      a.增加一个外国测试邮箱(注意不是中国的)之后,在设备上登录该帐号测试IAB(这曾经重挫了我,让我以为这是一个中国邮箱帐号,然后过了一段时间我什么都没做就好了)。

      b.如果包里使用了存在安全漏洞的接口、插件。包传上去后,需要大概五个小时才能在应用列表界面出现黄三角警告。相反地,去掉了一个有安全漏洞的接口,也需要五个小时才能看到警告是否取消。

3-增加一个测试邮箱帐号之后,在设备上登录该Google帐户并打开测试地址,点击成为测试成员后,没必要一定要点击链接进入商店下载游戏包,只要手机上有安装包就行。

4-为了测试IAB,以下几点必须遵守:

you must use a test account setup in the Play dashboard (in the Settings -> Account Details section)
your test device is running on Android SDK Version 2.2 (API level 8) or higher, and is installed with Google Play client Version 3.9.16 or higher
the android:versionCode and android:versionName attributes values in the AndroidManifest.xml of the application that you are installing matches the values of your apk in the Developer Console
you must upload your apk to Google Play and publish your app to either the alpha or beta distribution channels. Only the current version of the apk will work!
your application is signed with the same certificate that you used for the apk that you uploaded to the Developer Console
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: