I can't initialize Google Play game service

前端 未结 1 1887
长发绾君心
长发绾君心 2021-01-14 13:26

Project have just this code, and I just follow this description. Visit https://developers.google.com/games/services/android/init

Make Project and adding library \'go

1条回答
  •  南方客
    南方客 (楼主)
    2021-01-14 14:01

    It seems like you forget to add APP_ID metadata in your manifest file. You need to add the following code exactly inside the tag in the Android Manifest file:

    
    

    Please make sure the meta tag is not inside the tag but tag, and use APP_ID which is 12 digits number placed right of your game title in your play game console.

    for more info, check below link: https://developers.google.com/games/services/android/quickstart#step_3_modify_your_code

    0 讨论(0)
提交回复
热议问题