At Sign Up time my app get crashed using this plugin.
Here are error log that I was getting.

Here are Plugins/Android folder structure:

Please reply me for this, what I require to do for solving this error.
I have similar issue but not of all devices, some devices work fine.
Refer #1723
@drSpritz But how in this way I can publish my game!!! if even my device not working properly with Google Play services.
@pradeepkulasekaran My issue and that other thread point is complete different.
As per my past experience I have correct .aar files in Android folder. So I become confuse more.
Please reply me someone regarding this.
I request you to update to the latest plugin as i mentioned since it will resolve the error with .aar files and hopefully run on all devices which are greater than android 4.4.
For Google Play Games already I was using GooglePlayGamesPlugin-0.9.37
So what I require to update?
Are you using NearBy Connections in your game? Both Android and IOS?
Same Issue With me i update play service version and its crashed on login
i am no using near By Connection and it crashed in android
show me ur log..


@pradeepkulasekaran Got it What is issue?
@gametrainee What version of plugin u are using and what version is the arr files..
@siddharth3322 For latest version 0.9.37 the arr files should be updated to 10.2.1
Plugin version GooglePlayGamesPlugin-0.9.37
arr Version 10.0.1
How can i update arr files ?
"For latest version 0.9.37 the arr files should be updated to 10.2.1"
Do a fresh install.. Refer #1723
The plugin will automatically update arr files to 10.2.1
Even I got .aar file 10.0.1 when I install new plugin in Unity project rather than 10.2.1 version.
i updated the steps
Close and Reopen Unity to delete the temp cache created by old plugin
But I have created new project so its first time google play plugin install for me.
Close Unity and browse to the Android folder delete 10.0.1 if there is any and Reopen Unity. Make sure 10.0.1 arr is not present while updating the plugin.
Sorry missed few while documenting.
Then at where I can find new .aar files to replace??
The plugin will automatically download the files to the project..
Okay after deleting old aar files, I will see what happen when I open Unity project.
I will get back to you here with results :)
Hi, I'm having a similar issue, already deleted all the 10.0.1 files, reopened Unity and tried to setup Androi again but I'm having an error "Invalid classname: Exception has been thrown by the target of an invocation"
Also, in the console when I opened Unity got another error:
ResolutionException: Cannot find candidate artifact for com.google.android.gms:play-services-base:[10.2.4]
Google.JarResolver.PlayServicesSupport.GetDependencies (Google.JarResolver.Dependency dep, System.Collections.Generic.List1 repoPaths)
Google.JarResolver.PlayServicesSupport.GetTransitiveDependencies (System.Collections.Generic.Dictionary2 dependencies, System.Collections.Generic.List1 repoPaths)
Google.JarResolver.PlayServicesSupport.FindMissingDependencyPaths (System.String destinationDirectory, System.Collections.Generic.Dictionary2& dependencyPaths, Google.JarResolver.ExplodeAar explodeAar)
GooglePlayServices.ResolverVer1_1.DoResolution (Google.JarResolver.PlayServicesSupport svcSupport, System.String destinationDirectory, Google.JarResolver.OverwriteConfirmation handleOverwriteConfirmation, System.Action resolutionComplete)
GooglePlayServices.PlayServicesResolver.Resolve (System.Action resolutionComplete)
GooglePlayServices.PlayServicesResolver.AutoResolve ()
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at C:/buildslave/unity/build/artifacts/generated/common/editor/EditorApplicationBindings.gen.cs:249)
What should I do?
Here is issue after Updating and fresh install of plugin
NullReferenceException: Object reference not set to an instance of an object
Google.JarResolver.PlayServicesSupport.ResolveDependencies (Boolean useLatest, System.String destDirectory, Google.JarResolver.ExplodeAar explodeAar)
GooglePlayServices.ResolverVer1_1.DoResolutionNoAndroidPackageChecks (Google.JarResolver.PlayServicesSupport svcSupport, System.String destinationDirectory, Google.JarResolver.OverwriteConfirmation handleOverwriteConfirmation)
GooglePlayServices.ResolverVer1_1+
GooglePlayServices.ResolverVer1_1+
GooglePlayServices.ResolverVer1_1+
GooglePlayServices.CommandLineDialog+ProgressReporter.Update (GooglePlayServices.CommandLineDialog window)
GooglePlayServices.CommandLineDialog.Update ()
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:262)
UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:255)
UnityEditor.HostView.SendUpdate () (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:330)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at C:/buildslave/unity/build/artifacts/generated/common/editor/EditorApplicationBindings.gen.cs:249)
@AlvaroFalcon
Changes in Code
If you got the error Cannot find candidate artifact for com.google.android.gms:play-services-base:[10.2.4]
Go to the file in your project Assets/GooglePlayGames/PluginVersion.cs, inside change the PlayServicesVersionConstraint to "10.2.1" (the default value is "10+"). Save and go to unity.
@gametrainee You have any other plugin or other Jar resolver ?
Ok, I thought I alredy did that, now I got no error on that, I'll try it and tell you. Can I now install the OneSignal plugin without problems? Or I have to follow some steps
Even i have to install one signal but i haven't tried.. Will try after couple of days . Let me know if u tried it..
Make sure your app isn't crashing before installing any other plugin...
I have no any other plugin
@pradeepkulasekaran Ok, im building now the app to try the login, if it works ill backup it and try installing onesignal
@gametrainee U got the 10.2.1 arr files?
My god, I could login, you are my hero @pradeepkulasekaran, I'll backup right now and try installing OneSignal. Thanks a lot really
not i not getting arr files now i will try now with version .36
@gametrainee if you don't mind try reinstalling as steps provided in #1723
I guess u are missing some... For others its working fine...
Now this issue arise
Google.JarResolver.ResolutionException: Cannot find candidate artifact for com.google.android.gms:play-services-base:[10.2.4]
at Google.JarResolver.PlayServicesSupport.GetDependencies (Google.JarResolver.Dependency dep) [0x00000] in
at Google.JarResolver.PlayServicesSupport.ResolveDependencies (Boolean useLatest, System.String destDirectory) [0x00000] in
at GooglePlayServices.ResolverVer1_1.DoResolutionNoAndroidPackageChecks (Google.JarResolver.PlayServicesSupport svcSupport, System.String destinationDirectory, Google.JarResolver.OverwriteConfirmation handleOverwriteConfirmation) [0x00000] in
UnityEngine.Debug:LogError(Object)
GooglePlayServices.ResolverVer1_1:DoResolutionNoAndroidPackageChecks(PlayServicesSupport, String, OverwriteConfirmation)
GooglePlayServices.
GooglePlayServices.ResolverVer1_1:DoResolution(PlayServicesSupport, String, OverwriteConfirmation, Action)
GooglePlayServices.PlayServicesResolver:Resolve(Action)
GooglePlayServices.PlayServicesResolver:AutoResolve()
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()
@gametrainee
Changes in Code
If you got the error Cannot find candidate artifact for com.google.android.gms:play-services-base:[10.2.4]
Go to the file in your project Assets/GooglePlayGames/PluginVersion.cs, inside change the PlayServicesVersionConstraint to "10.2.1" (the default value is "10+"). Save and go to unity.
Already tried OneSignal and its not working, It says again the problem "ResolutionException: Cannot find candidate artifact for com.google.android.gms:play-services-base:[10.2.4]" So I think I'm removing OneSignal
Did u remove play Jar resolver while importing one signal plugin? (the one comes with One Signal)
We can use it from the Google play services plugin...
Huh, I'll try it and tell you
I Imported it again removing the resolver and getting the same error
@AlvaroFalcon Will update u in a day...
Sure, thanks ^^
@AlvaroFalcon If that the same error then u have to change version some where in their files.
PlayServicesVersionConstraint to "10.2.1" (the default value is "10+")
I haven't tested it..
Will look for them later, I'm actually so happy implementing achievements haha, thanks!
Changes in Code
If you got the error Cannot find candidate artifact for com.google.android.gms:play-services-base:[10.2.4]
Go to the file in your project Assets/GooglePlayGames/PluginVersion.cs, inside change the PlayServicesVersionConstraint to "10.2.1" (the default value is "10+"). Save and go to unity.
i did this steps. its work fine but apllication crash on login
Hey Thanks! now Crash issue is was solved but now i not signed in account here is logcat

gametrainee: Assets/GooglePlayGames/PluginVersion.cs, inside change the PlayServicesVersionConstraint to "10.2.1" (the default value is "10+"). Save and go to unity.
i cant location this map "googleplaygames" dosnt folder with this name in googlemobileads
@gametrainee Add the email to the tester list..
@DozeX Not sure with Google mobile ads.. I checked this for Google Play Services..
I removed aar files from project but still I got generated 10.0.1 version.
Now what I require to do?? and still same sign up process closed whole game.
@siddharth3322
For PlayServices Plugin
Uninstall the google play services plugin
Remove all Android based plugins (one signal , ad mob etc.,)
Close Unity and browse to the Android folder delete 10.0.1 if there is any and Reopen Unity. Make sure 10.0.1 arr is not present while updating the plugin.
Download and install the latest google play services plugin (0.9.37)
May it be possible that I have older version of android sdk affecting here?
because still same thing 10.0.1 aar files get generated.
Its better to do a fresh import as mention in #1723
Here is a link for Minimal project
Google Drive Link
https://drive.google.com/open?id=0B6CFlS0aZDPiUC1seXlfZ1B4OWc
Please check this at your and reply back to me.
Hey Hi!
@pradeepkulasekaran
i used another leaderboard id and pakage name which is live game but still not signin in play service please help
can anybody share new aar files (10.2.1) ?
So I can replace those with my older aar files because my mac always generating 10.0.1 aar files.
For me always its crash at sign in time still.
@gametrainee Did u reconfigure ur Google play while setting up in unity?
@siddharth3322 Delete the temp folder and delete the 10.0.1 arr files from the explorer and reimport.
After deleting Temp folder and old aar files, started Unity but it again already loaded with 10.0.1
Just on start up of project all files created again.
I solved this problem by returning to GooglePlayGamesPlugin-0.9.36 and use 10.0.1 aars for Unity 5.6.0f3
@siddharth3322 Delete all the files regarding the old plugin before opening Unity..
@siddharth3322 Use this last version: [0.9.38]((https://github.com/playgameservices/play-games-plugin-for-unity/blob/master/current-build/GooglePlayGamesPlugin-0.9.38.unitypackage)
That's all! Downgrading are a waste of time and did not work.