Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradle failed to fetch dependencies. #2084

Open
KhalidSaud opened this issue Jan 23, 2018 · 1 comment
Open

Gradle failed to fetch dependencies. #2084

KhalidSaud opened this issue Jan 23, 2018 · 1 comment

Comments

@KhalidSaud
Copy link

KhalidSaud commented Jan 23, 2018

Hello everyone.

I'm working on a project and i'm near the end of it, everything works perfectly, before release I added AdMob and it worked with no problems.

But when i wanted to work on the last thing which is (google play services) such as achievements and leaderboard, I started to have many issues, everytime i fix one I face another issue... I tried many versions of the plugin none works, the least issue was 0.9.42.

I cannot build my project on both PC and Laptop, I'm guessing my jdk setup is wrong in both my machines, I cannot tell, I've been trying to fix it for 2 weeks and I couldn't fix it, now I count on you guys to save me because I give up.

NOTE 1 : I can run things in Editor but I cannot BUILD them!

PC (tried empty project with just buttons)

screenshot 2018-01-23 17 32 45

Laptop (totally empty project and I still cannot build)

2018-01-23
2018-01-23 1
2018-01-23 2

NOTE 2 : Removing google play services plugin will remove all issues and I can build my project with no issues, I actually have my project in play store as beta version without google play services.

Please help me...

@creatio-ua
Copy link

Just in case you haven't found it yet:

  1. You need to remoe your current GPGS plugin and install the latest plugin version, it is 0.9.50.
    It'll solve the issue with error about "@integer/google_play_services_version"
  2. set up the JAVA_HOME path variable in windows settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants