1

i got a problem.

When i add compile for PlaceAutocomplete my project give an error

 compile 'com.google.android.gms:play-services-maps:11.8.0'
 compile'com.google.android.gms:play-services-location:11.8.0'
 compile'com.google.android.gms:play-services-places:11.8.0'

This is my app.gradle:

app.gradle

the error that is shown is the following:

error

And the error is in multiple file, one of them is:

error line

This file is generated when i build project. I already try to clean prject and rebuild but nothing happens.

Someone can tell me what the problem is? If you need anything else, ask

Thank you.

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
Erik
  • 55
  • 1
  • 5

1 Answers1

0

You can't use these libraries with compileSdk 17.

Use compileSdkVersion 27.

Gabriele Mariotti
  • 320,139
  • 94
  • 887
  • 841