Compile "com.android.support:appcompat-v7:27.1.0" error

Asked

Viewed 44 times

1

This message appears on the Android Studio console

Configuration 'Compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be Removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-Configurations.html

And point to line 156 of the image below

inserir a descrição da imagem aqui

How do I fix this? I already downloaded the link indicated on the console, but open a page full of explanations and nothing that seems to be the solution.

  • 1

    Change the compile for implementation and put the version in place of the + did not resolve?

  • 1

    Yeah, it worked out.

1 answer

3


The documentation has a list of which directives should be used in place of the obsolete ones and recommends using the exact version number to avoid dynamic dependency problems. In case it changes compile for implementation

Browser other questions tagged

You are not signed in. Login or sign up in order to post.