Can't Sign In Goolge Play Game Services: Must Have A Game Id To Sign In
I am trying to integrate Google Play Game Services but can't sign in. I know some developers ask about this problem before but the problem is nobody asked about the error I am enco
Solution 1:
I came across problem with same output - I downgraded version of com.google.android.gms:play-services-(base/games/auth) to 16.0.0 and got better error log:
019-10-24 11:52:03.266 25880-12410/? E/ValidateServiceOp: ******** APP ID IS NOT CORRECTLY CONFIGURED TO USE GOOGLE PLAY GAME SERVICES
**** Specify it using @string resources value or \u003 followed by an app_id value.
**** For example:
**** meta-data android:name="com.google.android.gms.games.APP_ID"
**** android:value="@string/app_id" />
**** or
**** meta-data android:name="com.google.android.gms.games.APP_ID"
**** android:value="\u003123456789" />
My manifest was like this:
android:name="com.google.android.gms.games.APP_ID"
**** android:value="3123456789" />
I had missing \u003
symbol. After replacing this with @string/app_id
and putting value to strings.xml it started working. You added this string to ids.xml
, which may be wrong.
After doing that I upgraded version of Google Play Services and everything works!
Post a Comment for "Can't Sign In Goolge Play Game Services: Must Have A Game Id To Sign In"