Google Play Games

后端 未结 3 1847
逝去的感伤
逝去的感伤 2020-12-11 13:33

Good day everyone.

I\'m trying to implement Achievements in a game I\'m developing.

I already set everything on google play console, got the app-id, put in t

3条回答
  •  南方客
    南方客 (楼主)
    2020-12-11 14:08

    Have you added a dependency on Google Play Services in your manifest correctly? In the "common errors" section here

    "4. When developing for Android, include the Play Games SDK as a library project, not as a standalone JAR Make sure that the Google Play services SDK is referenced as a library project in your Android project, otherwise this could lead to errors when your app is unable to find Google Play services resources. To learn how to set up your Android project to use Google Play services, see Setting Up Google Play Services."

    Also, do you have in your manifest?

    Do you have in your gradle file dependencies?

    compile "com.google.android.gms:play-services-games:${gms_library_version}" compile "com.google.android.gms:play-services-auth:${gms_library_version}"

提交回复
热议问题