簡體   English   中英

Corona SDK:找不到Google Play服務資源

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

試圖通過電暈SDK使用Google游戲服務。 在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   

在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