3

I am facing this error while importing a gradle project to eclipse ADT.

FAILURE: Build failed with an exception.

  • What went wrong: A problem occurred configuring project ':qodeme'.

    Could not resolve all dependencies for configuration ':qodeme:_defaultFlavorDebugCompile'. Could not find com.google.android.gms:play-services:5.0.77. Required by: QCodeMe-Android:qodeme:unspecified

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

ligi
  • 39,001
  • 44
  • 144
  • 244
Hammad Hassan
  • 1,192
  • 17
  • 29
  • http://stackoverflow.com/questions/17155475/could-not-find-com-google-android-gmsplay-services3-1-59-3-2-25-4-0-30-4-1-32 You need to have Android Support Repository and Android Support Library installed in the Android SDK manager.also Google Repository and Google Play Service – Ravi Mehta Jul 07 '16 at 06:23

1 Answers1

6

change to com.google.android.gms:play-services:5.0.89

5.0.77 is gone - had the same problem :-(

edit the build.gradle and replace the 77 by a 89

Orkun
  • 6,998
  • 8
  • 56
  • 103
ligi
  • 39,001
  • 44
  • 144
  • 244