I got this error after an update of Android Gradle plugin and Android Studio.
I have checked this question (Android Studio build.gradle warning message), but I am not ab
Look at your dependencies in your build.gradle. anywhere you have compile, change to implementation. For example:
dependencies { compile 'com.android.support:support-v4:27.0.3' }
Should be:
dependencies { implementation 'com.android.support:support-v4:27.0.3' }