Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
4
Question by Bmanner · Apr 29, 2017 at 09:40 AM · androidandroid buildarraysgoogle playgoogle play games

Google Play Game services Resolution Exception with newer Google Repository version

I was doing my perfect on Unity version 5.4.1f1, GPGS version 0.9.37 and Android tools version is below. alt text

until updating the Google Repository revision from 46 to 47, there wasn't any error. But after updating it, this error occured.

 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.List`1 repoPaths)
 Google.JarResolver.PlayServicesSupport.GetCurrentDependencies (System.Collections.Generic.Dictionary`2 dependencies, System.String destDirectory, Google.JarResolver.ExplodeAar explodeAar, System.Collections.Generic.List`1 repoPaths)
 Google.JarResolver.PlayServicesSupport.DependenciesPresent (System.String destDirectory, 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:222)

I tried to download older version of "google repository", but failed. Is there any solution for my problem?

P.S. Ofcourse my SDK location setting in Unity is correct.

sdk-version.png (39.6 kB)
Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
4
Best Answer

Answer by Bmanner · Apr 29, 2017 at 02:06 PM

SOLVED

Finally! I get the Rev.46 of "google repository" and solved problem. Here is download link of Rev.46 of google repo. https://dl.google.com/android/repository/google_m2repository_gms_v9_1_rc07_wear_2_0_1_rc3.zip

P.S. Just Unzip above file and paste the folder "m2repository" to "%Android SDK Location%extras\google\"
NOT "extras\android\", BUT "extras\google\"

Comment
Add comment · Show 9 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image generic2709 · Apr 29, 2017 at 02:54 PM 0
Share

Facing the same issue. I downloaded the m2repository. Do I delete the existing one and paste the new one there?

avatar image Bmanner generic2709 · Apr 30, 2017 at 04:53 AM 1
Share

don't delete, just paste the new one there.

avatar image generic2709 Bmanner · May 01, 2017 at 03:50 PM 0
Share

oh cool. I will try it out tomorrow and let you know. Hope that it works out.

When I tried deleting the repository and pasted the rev 46 and opened the project in unity, It showed the CommandInvokationFailure error and tried to update the Google Repository to 47(This was on Unity).

This time i'll try and update it to 47 and then paste the 46 repo in the android sdk/extras folder. what do you think?

Show more comments
avatar image Ocean257 · Apr 29, 2017 at 05:10 PM 0
Share

Were should i paste this file ? Thanks man , it like 8 hours and know i got the soultion , but again i got this error
Project GP$$anonymous$$ data does not exist. Creating new object. Do you have any solution for this ?

avatar image Bmanner Ocean257 · Apr 30, 2017 at 05:18 AM 0
Share

Well.... in my case that is not an error so I haven't $$anonymous$$d it at all. It was just a debug log... Project GP$$anonymous$$ data does not exist. Creating new object. UnityEngine.Debug:Log(Object) Google.Package$$anonymous$$anager.LoggingController:Log(String) Google.Package$$anonymous$$anager.Project$$anonymous$$anagerController:InflateProjectRecord(String) Google.Package$$anonymous$$anager.Project$$anonymous$$anagerController:.cctor() UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes()
I'm sorry I can't help you about that :(

avatar image ShikharSrivastava · May 03, 2017 at 11:23 AM 1
Share

You are a life saver. Not all heroes wear capes.

avatar image ThirtyPebbles · May 06, 2017 at 12:02 PM 0
Share

You are awesome man, u made my day.... thanks a lottttt.... NO words to express my feeling.

I want to add few more details so that it may be helpful to others. Procedure to add admob to your app,

--> download unity 5.5.1f ---> download admob plugin from this website(remember download v3.4.0) https://github.com/googleads/googleads-mobile-unity/releases --> go to your sdk installed location($$anonymous$$e is C:\Program Files (x86)\Android\android-sdk) and right click on 'SD$$anonymous$$ $$anonymous$$anager' click 'Run as ad$$anonymous$$istrator' . -->check 'Extras' whether all files are being installed or not, if not install them, but remember if 'Google Repository' is having Rev46 then dont update it, keep it as rev46 but never update to rev47. If incase you got rev47, then download rev46 from the above mentioned link, extract files and place the 'google repository' folder in SD$$anonymous$$ location, extras\google. (above he mentioned it as well). -->for admob ads, follow this video https://www.youtube.com/watch?v=06lbj$$anonymous$$FqWpg --> (in that video they have used plugin of other version but you prefer to download latest plugin v3.4.0).

avatar image
0

Answer by Selegans · Apr 29, 2017 at 04:16 PM

That's works for me!, but I still have the issue of CommandInvokationFailure: Failed to re-package resources! I try everything but nothings works! :C

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Bmanner · Apr 30, 2017 at 05:09 AM 0
Share

Let me know the details which is shown on the Unity console.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

105 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

'You uploaded an APK or Android App Bundle which has an activity, activity alias, service or broadcast receiver with intent filter, but without 'android:exported' property set.' 8 Answers

Prompt, please, as the data is being transferred to Google Play services? 0 Answers

Failed authenticating with google play services on android 0 Answers

Android Build crahes after submitting to play store 0 Answers

Unity Codeless IAP, Google Play Services Sign-in, Leaderboards and Achievements NOT WORKING! 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges