【发布时间】:2016-09-01 14:42:22
【问题描述】:
@Override
public void onTurnBasedMatchRemoved(String matchId) {
Log.d(TAG, "onTurnBasedMatchRemoved");
Toast.makeText(this, "onTurnBasedMatchRemoved", Toast.LENGTH_LONG).show();
}
@Override
public void onInvitationReceived(Invitation invitation) {
Log.d(TAG, "onInvitationReceived");
Toast.makeText(this, "onInvitationReceived", Toast.LENGTH_LONG).show();
}
在我的 android 应用程序中有这样的代码,它应该在轮到其他玩家时被调用,在我的 nexus 4 (android 5.0) 和 5 (android 5.1) 上完美地发生了什么,但是在小米 redmi node 2 (MIUI 7 build 5.9.24,Android 5.0.2 LRX22G)它不会发生。从类似的问题来看,这似乎是一些电话特定的问题。我做了几乎所有的事情,比如“自动同步”选项、重新创建 google play 帐户等等,但仍然没有找到解决方案。可能是你们中的某个人发现了它,如何让它发挥作用。
Google Play 版本 3.7.24 (3051774-048)
播放服务依赖项:
compile 'com.google.android.gms:play-services-games:8.4.0'
compile 'com.google.android.gms:play-services-plus:8.4.0'
【问题讨论】:
标签: java android google-play-services google-play-games