Error:(23, 0) Could not find method implementation() for arguments [directory 'libs'] on o

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.
<a href="openAndroidSdkManager">Open Android SDK Manager</a>

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

上一篇:rsync常见问题及解决办法(亲测)


下一篇:[20160608]perf定位问题.txt