打开我的应用程序时,没有任何反应(登录),因此我使用Monitor在logcat中查找错误,发现它显示以下内容:“无法注册一个或多个必需的Java类”。请参阅logcat中的以下错误:
08-08 15:06:50.971: E/GamesNativeSDK(4247): Could not register one or more required Java classes.
08-08 15:06:50.975: E/Unity(4247): InvalidOperationException: There was an error creating a GameServices object. Check for log errors from GamesNativeSDK
08-08 15:06:50.975: E/Unity(4247): at GooglePlayGames.Native.PInvoke.GameServicesBuilder.Build (GooglePlayGames.Native.PInvoke.PlatformConfiguration configRef) [0x00033] in <d16b8fff80ee43648e71441c5bd39741>:0
08-08 15:06:50.975: E/Unity(4247): at GooglePlayGames.Native.NativeClient.InitializeGameServices () [0x00101] in <d16b8fff80ee43648e71441c5bd39741>:0
08-08 15:06:50.975: E/Unity(4247): at GooglePlayGames.Native.NativeClient.Authenticate (System.Action`2[T1,T2] callback, System.Boolean silent) [0x000ef] in <d16b8fff80ee43648e71441c5bd39741>:0
08-08 15:06:50.975: E/Unity(4247): at GooglePlayGames.PlayGamesPlatform.Authenticate (System.Action`2[T1,T2] callback, System.Boolean silent) [0x00026] in <d16b8fff80ee43648e71441c5bd39741>:0
08-08 15:06:50.975: E/Unity(4247): at GooglePlayGames.PlayGamesPlatform.Authenticate (System.Action`1[T] callback, System.Boolean silent) [0x0000d] in <d16b8fff80ee43648e71441c5bd39741>:0
08-08 15:06:50.975: E/Unity(4247): at GooglePlayGames.PlayGamesPlatform.Authenticate (System.Action`1[T] callback) [0x00000] in <d16b8fff80ee43648e71441c5bd39741>:
a在unity3d的另一个游戏中使用了Google插件,但现在不起作用, 任何其他信息都将非常有帮助。