I am getting error: Configuration 'compile' is obsolete and has been replaced with 'implementation'. It will be removed at the end of 2018

后端 未结 5 1363
日久生厌
日久生厌 2021-02-01 23:21

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

5条回答
  •  感情败类
    2021-02-01 23:58

    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'
    }
    

提交回复
热议问题