Error :“Configuration 'compile' is obsolete and has been replaced with 'implementation'.”, even though no 'compile' present in gradle

后端 未结 6 513
离开以前
离开以前 2021-01-11 14:31

I have the following gradle files and I can\'t find anything which would still warrant the warning \"Configuration \'compile\' is obsolete and has been replace

6条回答
  •  借酒劲吻你
    2021-01-11 15:25

    I had this problem too, this is how I solved it:

    go to you build.gradle (app level)

    build.gradle module app

    and replace the word 'compile' with 'implementation'

提交回复
热议问题