简体   繁体   English

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

[英]Corona SDK: The Google Play services resources were not found

tried to use google game services with corona sdk. 试图通过电晕SDK使用Google游戏服务。 In ios version, there is no error or problem. 在ios版本中,没有错误或问题。 Its good. 很好。 In android version, it seems like to login(in user interface, user logged in) and the player name's appear on the top of screen but login callback is not working properly. 在android版本中,似乎要登录(在用户界面中,用户已登录),并且播放器名称出现在屏幕顶部,但登录回调无法正常工作。

Debugged production application with adb logcat. 使用adb logcat调试的生产应用程序。 Logs are bellow. 日志是波纹管。 How can i solve this problem? 我怎么解决这个问题?

The Google Play services resources were not found. 找不到Google Play服务资源。 Check your project configuration to ensure that the resources are included. 检查您的项目配置,以确保包括资源。

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   

In your build.settings, do you have the following: 在build.settings中,您是否具有以下内容:

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

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM