(Error)Error:(28, 0) Could not find method implementation() for arguments [com.android.support:appco

Error:(28, 0) Could not find method implementation() for arguments [com.android.support:appcompat-v7:25.3.1] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
Please install the Android Support Repository from the Android SDK Manager.
Open Android SDK Manager


把build.gradle中的dependencies中的
implementation改为compile即可
原因:3.0的依赖改变书写方式,如从3.0改为2.+需要做此改动

你可能感兴趣的:(android,报错)