我使用团结2017.1.0f3与广告调解的appodeal插件,我试图实现谷歌播放服务0.9.4.1。但不知怎的,我总是在这里遇到这个问题。
GamesUnitySDK: Performing Android initialization of the GPG SDK
GamesNativeSDK: Can't register class com/google/android/gms/games/Games: an exception occurred.
GamesNativeSDK: Can't register class com/google/android/gms/games/Games$GamesOptions: an exception occurred.
GamesNativeSDK: Can't register class com/google/android/gms/games/Games$GamesOptions$Builder: an exception occurred.
GamesNativeSDK: Can't register class com/google/android/gms/games/Player: an exception occurred.
GamesNativeSDK: Can't register class com/google/android/gms/games/PlayerBuffer: an exception occurred.
GamesNativeSDK: Can't register class com/google/android/gms/games/PlayerLevel: an exception occurred.
GamesNativeSDK: Can't register class com/google/android/gms/games/PlayerLevelInfo: an exception occurred.
GamesNativeSDK: Can't register class com/google/android/gms/games/Players: an exception occurred.
GamesNativeSDK: Can't register class com/google/android/gms/games/Players$LoadPlayersResult: an exception occurred.
GamesNativeSDK: Can't register class com/google/android/gms/games/achievement/Achievement: an exception occurred.
GamesNativeSDK: Can't register class com/google/android/gms/games/achievement/Achievements$LoadAchievementsResult: an exception occurred.
GamesNativeSDK: Can't register class com/google/android/gms/games/event/Event: an exception occurred.
GamesNativeSDK: Can't register class com/google/android/gms/games/event/EventBuffer: an exception occurred.
GamesNativeSDK: Can't register class com/google/android/gms/games/event/Events: an exception occurred.
AudioFlinger::EffectModule: EffectModule 0xae103d80 destructor called with unreleased interface
AudioFlinger::EffectHandle: disconnect Effect handle 0xae8ff400 disconnected after thread destruction
Unity : Building GPG services, implicitly attempts silent auth
Unity :
Unity : (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
Unity :
GamesNativeSDK: Could not register one or more required Java classes.
Unity : InvalidOperationException: There was an error creating a GameServices object. Check for log errors from GamesNativeSDK
Unity : at GooglePlayGames.Native.PInvoke.GameServicesBuilder.Build (GooglePlayGames.Native.PInvoke.PlatformConfiguration configRef) [0x00000] in <filename unknown>:0
Unity : at GooglePlayGames.Native.NativeClient.InitializeGameServices () [0x00000] in <filename unknown>:0
Unity : at GooglePlayGames.Native.NativeClient.Authenticate (System.Action`2 callback, Boolean silent) [0x00000] in <filename unknown>:0
Unity : at GooglePlayGames.PlayGamesPlatform.Authenticate (System.Action`2 callback, Boolean silent) [0x00000] in <filename unknown>:0
Unity : at GooglePlayGames.PlayGamesPlatform.Authenticate (System.Action`1 callback, Boolean silent) [0x00000] in <filename unknown>:0
Unity : at GooglePlayGames.PlayGamesPlatform.Authenticate (System.Action`1 callback) [0x00000] in <filename unknown>:0
Unity : at GooglePlayGames.PlayGamesLocalUser.Authenticate (System.Action`1 callback) [0x00000] in <filename unknown>:0
Unity : at PlayServiceMan
Unity : Programm Starts
我缩短了一点。在原始文件中,还有大约50个不能注册类日志。
我尝试多次重新安装插件。将我的所有sdks更新到最新版本并检查.aar文件(所有版本都相同)。我到底做错了什么?我也多次使用Google Play服务设置,但没有帮助......
我听说有些人在谈论插件/ android / googleplayservice_lib文件夹,但是我的项目不是。所有.aar文件都在/ plugins / android词典中。
我真的希望有人可以帮助我......安装游戏服务有多难?