playgameservices / play-games-plugin-for-unity

Google Play Games plugin for Unity
Other
3.47k stars 966 forks source link

There was an error creating a Game services Object #1012

Closed avvie closed 8 years ago

avvie commented 8 years ago

Hello,

I looked around for a solution to this but came up empty handed. When i start my app I check for internet connection and if there is one then i try to log in. the error seems to be on Authenticate. A week ago this code worked perfect! I am using 4.6.9, i have checked that play services and everything else is up to date I have the latest plugin for google play services and admob. I am quite lost and on this for 4 frustrating days of no progress, any help is greatly appreciated

I/Unity (12961): InvalidOperationException: There was an error creating a Game Services object. Check for log errors from GamesNativeSDK I/Unity (12961): at GooglePlayGames.Native.PInvoke.GameServicesBuilder.Build (GooglePlayGames.Native.PInvoke.PlatformConfiguration configRef) [0x00000] in < filename unknown>:0 I/Unity (12961): at GooglePlayGames.Native.NativeClient.InitializeGameServices () [0x00000] in <filename unknown>:0 I/Unity (12961): at GooglePlayGames.Native.NativeClient.Authenticate (System.Action1 callback, Boolean silent) [0x00000] in :0 I/Unity (12961): at GooglePlayGames.PlayGamesPlatform.Authenticate (System.Action1 callback, Boolean silent) [0x00000] in <filename unknown>:0 I/Unity (12961): at GooglePlayGames.PlayGamesPlatform.Authenticate (System.Action1 callback) [0x00000] in :0 I/Unity (12961): at GooglePlayGames.PlayGamesLocalUser.Authenticate (System.Action1 callback) [0x00000] in <filename unknown>:0 I/Unity (12961): at NewMenu.Awake () [0x00000] in <filename unknown>:0 I/Unity (12961): I/Unity (12961): (Filename: Line: -1) I/Unity (12961):

Then i added the GamesNativeSDK to the filter : I/Unity (12961): [Play Games Plugin DLL] 03/01/16 14:17:18 +02:00 DEBUG: Creating Android IPlayGamesClient Client I/Unity (12961): I/Unity (12961): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 56) I/Unity (12961): E/GamesNativeSDK(12961): Can't register class com/google/android/gms/common/ConnectionResult: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/common/GooglePlayServicesUtil: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/common/api/Api: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/common/api/Api$ApiOptions: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/common/api/Api$ApiOptions$HasOptions: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/common/api/GoogleApiClient: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/common/api/GoogleApiClient$Builder: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/common/api/PendingResult: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/common/api/Result: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/common/api/ResultCallback: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/common/api/Scope: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/common/api/Status: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/common/data/DataBufferUtils: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/Games: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/Games$GamesOptions: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/Games$GamesOptions$Builder: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/Games$GetServerAuthCodeResult: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/Player: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/PlayerBuffer: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/PlayerLevel: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/PlayerLevelInfo: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/Players: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/Players$LoadPlayersResult: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/achievement/Achievement: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/achievement/Achievements$LoadAchievementsResult: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/event/Event: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/event/EventBuffer: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/event/Events: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/eventEvents$LoadEventsResult: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/achievement/AchievementBuffer: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/achievement/Achievements: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/leaderboard/Leaderboard: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/leaderboard/LeaderboardBuffer: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/leaderboard/Leaderboards: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/leaderboard/LeaderboardScore: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/leaderboard/LeaderboardScoreBuffer: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/leaderboard/LeaderboardVariant: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/leaderboard/Leaderboards$LeaderboardMetadataResult: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/leaderboard/Leaderboards$LoadScoresResult: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/multiplayer/Invitation: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/multiplayer/InvitationBuffer: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/multiplayer/Invitations: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/multiplayer/Invitations$LoadInvitationsResult: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/multiplayer/Multiplayer: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/multiplayer/Participant: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/multiplayer/ParticipantResult: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/multiplayer/turnbased/LoadMatchesResponse: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/multiplayer/turnbased/TurnBasedMatch: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/multiplayer/turnbased/TurnBasedMatchBuffer: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/multiplayer/turnbased/TurnBasedMatchConfig: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/multiplayer/turnbased/TurnBasedMatchConfig$Builder: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/multiplayer/turnbased/TurnBasedMultiplayer: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/multiplayer/turnbased/TurnBasedMultiplayer$CancelMatchResult: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/multiplayer/turnbased/TurnBasedMultiplayer$InitiateMatchResult: an exception occurred . E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/multiplayer/turnbased/TurnBasedMultiplayer$LeaveMatchResult: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/multiplayer/turnbased/TurnBasedMultiplayer$LoadMatchesResult: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/multiplayer/turnbased/TurnBasedMultiplayer$LoadMatchResult: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/multiplayer/turnbased/TurnBasedMultiplayer$UpdateMatchResult: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/quest/Quest: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/quest/QuestBuffer: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/quest/Quests: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/quest/Milestone: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/quest/Quests$LoadQuestsResult: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/quest/Quests$AcceptQuestResult: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/quest/Quests$ClaimMilestoneResult: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/snapshot/Snapshot: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/snapshot/SnapshotContents: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/snapshot/SnapshotMetadata: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/snapshot/SnapshotMetadataBuffer: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/snapshot/Snapshots: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/snapshot/Snapshots$CommitSnapshotResult: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/snapshot/Snapshots$LoadSnapshotsResult: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/snapshot/Snapshots$OpenSnapshotResult: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/snapshot/SnapshotMetadataChange: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/snapshot/SnapshotMetadataChange$Builder: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/stats/PlayerStats: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/stats/Stats: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/stats/Stats$LoadPlayerStatsResult: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/multiplayer/realtime/RealTimeMessageReceivedListener: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/multiplayer/realtime/RealTimeMultiplayer: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/multiplayer/realtime/RealTimeMessage: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/multiplayer/realtime/Room: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/multiplayer/realtime/RoomConfig: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/games/multiplayer/realtime/RoomConfig$Builder: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/nearby/Nearby: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/nearby/connection/AppIdentifier: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/nearby/connection/AppMetadata: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/nearby/connection/Connections: an exception occurred. E/GamesNativeSDK(12961): Can't register class com/google/android/gms/nearby/connection/Connections$StartAdvertisingResult: an exception occurred. I/Unity (12961): Building GPG services, implicitly attempts silent auth I/Unity (12961): I/Unity (12961): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 56) I/Unity (12961): E/GamesNativeSDK(12961): Could not register one or more required Java classes. I/Unity (12961): InvalidOperationException: There was an error creating a GameServices object. Check for log errors from GamesNativeSDK I/Unity (12961): at GooglePlayGames.Native.PInvoke.GameServicesBuilder.Build (GooglePlayGames.Native.PInvoke.PlatformConfiguration configRef) [0x00000] in < filename unknown>:0 I/Unity (12961): at GooglePlayGames.Native.NativeClient.InitializeGameServices () [0x00000] in <filename unknown>:0 I/Unity (12961): at GooglePlayGames.Native.NativeClient.Authenticate (System.Action1 callback, Boolean silent) [0x00000] in :0 I/Unity (12961): at GooglePlayGames.PlayGamesPlatform.Authenticate (System.Action1 callback, Boolean silent) [0x00000] in <filename unknown>:0 I/Unity (12961): at GooglePlayGames.PlayGamesPlatform.Authenticate (System.Action1 callback) [0x00000] in :0 I/Unity (12961): at GooglePlayGames.PlayGamesLocalUser.Authenticate (System.Action1 callback) [0x00000] in <filename unknown>:0 I/Unity (12961): at NewMenu.Awake () [0x00000] in <filename unknown>:0 I/Unity (12961): I/Unity (12961): (Filename: Line: -1) I/Unity (12961):

claywilkinson commented 8 years ago

It looks like you don't have the play-services aar files included in your project. Can you run Assets/Play Services/Resolve Client Jars?

If it still does not work, please share the contents of Assets/Plugins/Android.

avvie commented 8 years ago

After doing the resolve in the googleplaygames folder i got this series of compile errors from unity http://i.imgur.com/JUzFiGM.png I remember seeing a thread somewhere that fixes this. I will have to hopefully find that again

avvie commented 8 years ago

Weird thing happened... I did nothing and the errors dissappeard :S Tried to build and got this I do have the version.xml in the plugins of the project

`Error building Player: CommandInvokationFailure: Unable to convert classes into dex format. See the Console for details. C:/Program Files/Java/jdk1.8.0_73\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir="D:/Devv/Android/SDK\tools" -Dfile.encoding=UTF8 -jar "C:/Program Files (x86)/Unity/Editor/Data/BuildTargetTools/AndroidPlayer\sdktools.jar" -

stderr[ Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/annotation/AnimRes;

FiXED THAT but..

avvie commented 8 years ago

Fixed this convokation error by deleting a support-annotations-23.1.1.jar but now I have a similar to the original error

`E/GamesNativeSDK(12623): Can't register class com/google/android/gms/common/Conn ectionResult: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/common/Goog lePlayServicesUtil: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/common/api/ Api: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/common/api/ Api$ApiOptions: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/common/api/ Api$ApiOptions$HasOptions: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/common/api/ GoogleApiClient: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/common/api/ GoogleApiClient$Builder: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/common/api/ PendingResult: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/common/api/ Result: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/common/api/ ResultCallback: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/common/api/ Scope: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/common/api/ Status: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/common/data /DataBufferUtils: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/Games : an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/Games $GamesOptions: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/Games $GamesOptions$Builder: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/Games $GetServerAuthCodeResult: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/Playe r: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/Playe rBuffer: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/Playe rLevel: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/Playe rLevelInfo: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/Playe rs: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/Playe rs$LoadPlayersResult: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/achie vement/Achievement: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/achie vement/Achievements$LoadAchievementsResult: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/event /Event: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/event /EventBuffer: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/event /Events: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/event /Events$LoadEventsResult: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/achie vement/AchievementBuffer: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/achie vement/Achievements: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/leade rboard/Leaderboard: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/leade rboard/LeaderboardBuffer: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/leade rboard/Leaderboards: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/leade rboard/LeaderboardScore: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/leade rboard/LeaderboardScoreBuffer: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/leade rboard/LeaderboardVariant: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/leade rboard/Leaderboards$LeaderboardMetadataResult: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/leade rboard/Leaderboards$LoadScoresResult: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/multi player/Invitation: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/multi player/InvitationBuffer: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/multi player/Invitations: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/multi player/Invitations$LoadInvitationsResult: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/multi player/Multiplayer: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/multi player/Participant: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/multi player/ParticipantResult: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/multi player/turnbased/LoadMatchesResponse: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/multi player/turnbased/TurnBasedMatch: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/multi player/turnbased/TurnBasedMatchBuffer: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/multi player/turnbased/TurnBasedMatchConfig: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/multi player/turnbased/TurnBasedMatchConfig$Builder: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/multi player/turnbased/TurnBasedMultiplayer: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/multi player/turnbased/TurnBasedMultiplayer$CancelMatchResult: an exception occurred. E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/multi player/turnbased/TurnBasedMultiplayer$InitiateMatchResult: an exception occurred . E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/multi player/turnbased/TurnBasedMultiplayer$LeaveMatchResult: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/multi player/turnbased/TurnBasedMultiplayer$LoadMatchesResult: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/multi player/turnbased/TurnBasedMultiplayer$LoadMatchResult: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/multi player/turnbased/TurnBasedMultiplayer$UpdateMatchResult: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/quest /Quest: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/quest /QuestBuffer: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/quest /Quests: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/quest /Milestone: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/quest /Quests$LoadQuestsResult: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/quest /Quests$AcceptQuestResult: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/quest /Quests$ClaimMilestoneResult: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/snaps hot/Snapshot: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/snaps hot/SnapshotContents: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/snaps hot/SnapshotMetadata: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/snaps hot/SnapshotMetadataBuffer: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/snaps hot/Snapshots: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/snaps hot/Snapshots$CommitSnapshotResult: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/snaps hot/Snapshots$LoadSnapshotsResult: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/snaps hot/Snapshots$OpenSnapshotResult: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/snaps hot/SnapshotMetadataChange: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/snaps hot/SnapshotMetadataChange$Builder: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/stats /PlayerStats: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/stats /Stats: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/stats /Stats$LoadPlayerStatsResult: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/multi player/realtime/RealTimeMessageReceivedListener: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/multi player/realtime/RealTimeMultiplayer: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/multi player/realtime/RealTimeMessage: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/multi player/realtime/Room: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/multi player/realtime/RoomConfig: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/games/multi player/realtime/RoomConfig$Builder: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/nearby/Near by: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/nearby/conn ection/AppIdentifier: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/nearby/conn ection/AppMetadata: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/nearby/conn ection/Connections: an exception occurred.

E/GamesNativeSDK(12623): Can't register class com/google/android/gms/nearby/conn ection/Connections$StartAdvertisingResult: an exception occurred.

I/Unity (12623): Building GPG services, implicitly attempts silent auth`

claywilkinson commented 8 years ago

Can you share what is in your Assets/Plugins/Android directory? Mine looks like this and everything is OK:

screen shot 2016-02-25 at 12 10 31 pm
avvie commented 8 years ago

HERE google-play-plugin-support and libgpg are the only files in those folders apart from res that has the version.xml otherwise i get a convocation error I read in another issue that the project might have an old support library, although i had run the setup again, so i deleted them from the project so it would take whatever was in the sdk i had the support-v4-23-1-1 in there and i had support-annotations that i deleted cause i was causing another dex-error as i mentioned in a previous post

avvie commented 8 years ago

I played around a bit, trying to make the diretories to have the same structure. I rerun the setup of the plugin, but i still need the version.xml in the project files. logcat created a much sorter and to the point error. I/Unity (30771): E/Unity (30771): Unable to find gpg E/Unity (30771): Unable to find gpg I/Unity (30771): DllNotFoundException: gpg

from what i read in other issues from 2014 it was fixed. Do i need to compile this myself? I tried with some instructions from a post from 2014 in here, but it was mentioning a script I could not find. So I imported the lib from the package ad re run setup of the plugin. And got back to the error from yesterday

avvie commented 8 years ago

I was messing with logcat filters and found this, which is added to the previous log basically. Also i have removed all other plugins including admob trying to make this work alone first to add the rest on the way.

Also the link to the static libgpg seems to be broken and i have read everywhere that it fixes things. Thing is the instructions to compile dont seem to work anymore? or I am i doing something wrong ?

I hope that this extra log points to a solution, Thanks in advance

D/dalvikvm( 5163): Shared lib '/data/app-lib/com.freakout.GoatExterm-34/libgpg.s o' already loaded in same CL 0x41d81ad8 D/dalvikvm( 5163): Trying to load lib /data/app-lib/com.freakout.GoatExterm-34/l ibgpg.so 0x41d81ad8 D/dalvikvm( 5163): Shared lib '/data/app-lib/com.freakout.GoatExterm-34/libgpg.s o' already loaded in same CL 0x41d81ad8 D/dalvikvm( 5163): Trying to load lib /data/app-lib/com.freakout.GoatExterm-34/l ibgpg.so 0x41d81ad8 D/dalvikvm( 5163): Shared lib '/data/app-lib/com.freakout.GoatExterm-34/libgpg.s o' already loaded in same CL 0x41d81ad8 D/dalvikvm( 5163): Trying to load lib /data/app-lib/com.freakout.GoatExterm-34/l ibgpg.so 0x41d81ad8 D/dalvikvm( 5163): Shared lib '/data/app-lib/com.freakout.GoatExterm-34/libgpg.s o' already loaded in same CL 0x41d81ad8 D/dalvikvm( 5163): Trying to load lib /data/app-lib/com.freakout.GoatExterm-34/l ibgpg.so 0x41d81ad8 D/dalvikvm( 5163): Shared lib '/data/app-lib/com.freakout.GoatExterm-34/libgpg.s o' already loaded in same CL 0x41d81ad8 D/dalvikvm( 5163): Trying to load lib /data/app-lib/com.freakout.GoatExterm-34/l ibgpg.so 0x41d81ad8 D/dalvikvm( 5163): Shared lib '/data/app-lib/com.freakout.GoatExterm-34/libgpg.s o' already loaded in same CL 0x41d81ad8 D/dalvikvm( 5163): Trying to load lib /data/app-lib/com.freakout.GoatExterm-34/l ibgpg.so 0x41d81ad8 D/dalvikvm( 5163): Shared lib '/data/app-lib/com.freakout.GoatExterm-34/libgpg.s o' already loaded in same CL 0x41d81ad8

avvie commented 8 years ago

This can be closed 0.9.32 fixed everything <3

claywilkinson commented 8 years ago

Great Thanks for the update.