且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将Google API集成到libgdx项目中

更新时间:2023-02-08 10:17:07

使用旧版Google Play服务的上述问题中的问题链接" .

以前,我们将BaseGameUtils实用程序模块用于排行榜和成就. (play service version <11.6.2)

Previously we're using BaseGameUtils utility module for Leaderboard and Achievement. (play service version <11.6.2)

在最新版本的google play game service中,不需要BaseGameUtils.将以下依赖项注入您的android模块中,并遵循以下

In latest version of google play game service, BaseGameUtils not required. Inject below dependency in your android module and follow this thread.

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