# "Failed to fetch the following dependencies: com.google.games:gpgs-plugin-support:0.9.50 " when force resolve GooglePlayGamesPlugin-0.9.50

Ive been stuck with this problem for the last few days and really need some assistance.

Iv created an android app and im trying to set up google play services as i want to use the leader board etc..

I then go to assests/ play service resolver/android/force resolve and run that.

After running I end up with the following error:

Resolution failed

Failed to fetch the following dependencies:

UnityEngine.Debug:LogError(Object)

GooglePlayServices.ResolverVer1_1:LogMissingDependenciesError(List1)

UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

If i ignore the error and complie the app it works fine but does not connect to the google service. I can publish and use the app without crashes etc but i cant log on to google or view leaderboards.

Can any one assist me as im really desperate to get this up and running.

Im using : unity 2017.1.1f1 personal 64bit

Windows 10 64 bit

jdk1.8.0_162

• Have you actually downloaded all libraries with the android sdk tool? It probably can't find the AAR packs. After you've done that you need to add those aar packs to your project so it's build with the apk. Assuming you're talking about this plugin you can let the plugin pull the AAR packs to your project. But you must download the repo with the android sdk manager Mar 4 '18 at 22:23
• Hi, I've downloaded all libraries and I even updated my unity to unity 2017.3.1f1. this still did not solve my issue. I still get a resolution failed. Mar 5 '18 at 10:29
• Did you pull the AAR packs trough the plugin? Just downloading them doesn't do anything. The GooglePlayGamesPlugin has a feature to pull the AAR packs that you have defined in your GooglePlay script. There is an example code for that. You could just copy it over and activate it. Right click in your project view and use GooglePlayGamesPlugin submenu to pull the AAR packs to your plugin folder. Mar 5 '18 at 17:27
• I don't seem to be following. this is what I have done. - i downloaded the GooglePlayGamesPlugin zip from github the same as the link you have up. I extracted the files. i went into unity and i clicked on import package\custom package. I then did a force resolve. that when i get this error. Am i supposed to copy anything to the project or assets folder ? Mar 5 '18 at 18:51
• It's been a year since I've done this so I conflated two things. What you also need is github.com/googlesamples/unity-jar-resolver, this will pull in the AAR packs you need then you should be able to play fine. Look at the example script on how to use it. Define the services ( and version ) you want and the jar resolver pulls in the aar packs. Or if you want to do it manually go into your android SDK folder find the AAR packs yourself and add them to your project. The jar resolver however also pulls additional AAR packs if it needs any. Mar 5 '18 at 21:56

they get downloaded to sdk\extras\google\m2repository\com\google\android\gms\ see which ones you need and copy the aar file into your android project
Open you GooglePlayGamesPluginDependencies.xml file and make sure that path mentioned for "com.google.games:gpgs-plugin-support:x.x.xx" exists and is valid.