1

When I set google api at Gradle,

appear an error dialog

Error:(30, 13) Failed to resolve: com.google.api-client:google-api-client-android:1.21.0

enter image description here


my classes want to import

import com.google.api.client.util.Lists;

and

build.Gradle(Module:app) -> dependencies

compile 'com.google.api-client:google-api-client-android:1.21.0'

enter image description here


What can I do.

JimmyHo
  • 279
  • 1
  • 5
  • 14

1 Answers1

2

Update Google Play Services from your android sdk and try again.

Chintan Bawa
  • 1,376
  • 11
  • 15