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

1

This message appears in 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: link

And points to line 156 of the image below

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

    
asked by anonymous 01.11.2018 / 14:51

1 answer

3

The documentation has a list of which policies should be used instead of obsolete, and recommends using the exact version number to avoid dynamic dependency problems. In case you change compile by implementation

    
01.11.2018 / 15:03