最近再接入GooglePlay成就系统
接入步骤不说了网上和官方都有教程.
最近再接入GooglePlay成就系统
接入步骤不说了网上和官方都有教程.
接入后2条报错:
1. Google Play Games services SignIn error : ApiException :10
我这里出现这个错误是因为xml里添加的app_id错误,正确的应该是12位数字而不是一长串字符的客户端ID。
<meta-data android:name="com.google.android.gms.games.APP_ID"
android:value="@string/app_id" />
2.Google Play Games services SignIn error : ApiException :4
我这里查下来是app包名和后台填写包名不一致。