Skip to content
Advertisement

Gradle – Error Could not find method implementation() for arguments [com.android.support:appcompat-v7:26.0.0]

I am trying to open existing android project in android studio and it gradle cannot build the app without the error

Error android studio keeps on throwing

JavaScript

My Code in build.gradle Which can help to understand my issue My dependencies

JavaScript

Please help to solve the issue

Advertisement

Answer

Replace compile with implementation.

compile was recently deprecated and replaced by implementation or api

Advertisement