Play Games Services - Resolution Failed, Gradle failed to fetch dependencies
Hello.
I am running into some troubles trying to use Play Services in my game. I think I have everything ready to test but I get this error every time I try to force resolve:
I think this may be what I need to fix in order to have the system working.
I have already tried to set up variable JAVA_HOME from enviromental variables to differents paths, and none of them work. I always get the same error message and the resolving process never ends.
I have also imported the last version of the Google API Package and tried several times to delete everything and start from scratch. With no good endings.
What could I be doing wrong? Thank you for the help.
Answer by YesYesYeswanth · Jun 08, 2020 at 04:22 AM
if you have installled JDK from unity hub then you have to set your JAVA_HOME variables to the directory where the unity installs Openjdk. Eg:C:\Program Files\Unity\2019.3.15f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK in my case it is here.Try this it may help you .If it works leave a comment.This will help others.For referance : https://www.youtube.com/watch?v=uYFyKTplB4g&t=19s
Answer by Mr-Asad955 · Feb 03, 2021 at 01:38 PM
hi, i had same problem, this video solved my problem, hope it'll help you. https://www.youtube.com/watch?v=cIa8PK3QGUw
Your answer
Follow this Question
Related Questions
google achievements and leaderboard problem 1 Answer
Google Play Services Login isn't working 0 Answers
The best overloaded method match for google play games 1 Answer
google play get score from leaderboard 3 Answers
failed to re pack resources 0 Answers