Corona SDK:找不到Google Play服务资源

时间:2014-07-12 15:15:30

标签: android corona google-play-services android-sdk-tools

试图使用带有电晕sdk的谷歌游戏服务。在ios版本中,没有错误或问题。很好。在Android版本中,似乎登录(在用户界面中,用户登录)并且播放器名称显示在屏幕顶部但登录回调无法正常工作。

使用adb logcat调试生产应用程序。日志如下。我该如何解决这个问题?

找不到Google Play服务资源。检查项目配置以确保包含资源。

D/BaseGameActivity( 9998): onCreate: creating GamesClient
E/GooglePlayServicesUtil( 9998): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
D/BaseGameActivity( 9998): isGooglePlayServicesAvailable returned 0
D/BaseGameActivity( 9998): beginUserInitiatedSignIn: starting new sign-in flow.
D/BaseGameActivity( 9998): Connecting GamesClient.
E/GooglePlayServicesUtil( 9998): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
W/ContextImpl( 9998): Implicit intents with s   

1 个答案:

答案 0 :(得分:0)

在build.settings中,您有以下内容:

-- Android-specific settings
    android =
    {
        versionCode = "1",
        googlePlayGamesAppId = "XXXXXXXXX",
        usesPermissions =
        {
            "android.permission.INTERNET",
        },
    },

plugins =
    {
       ["CoronaProvider.gameNetwork.google"] =
       {
          publisherId = "com.coronalabs",
          supportedPlatforms = { android = true }
       },
    },