我在Mac上,使用的是AndroidStudio3.1.2。我把gradle版本改成了4.4,android插件改成了3.1.2。
我已经换了
编译
关键字到
实施
在建筑中。格雷德
我得到这个错误:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':lint'.
> Could not resolve all files for configuration ':lintClassPath'.
> Could not find com.android.tools:sdk-common:26.1.2.
Searched in the following locations:
file:/Users/rp/Library/Android/sdk/extras/m2repository/com/android/tools/sdk-common/26.1.2/sdk-common-26.1.2.pom
file:/Users/rp/Library/Android/sdk/extras/m2repository/com/android/tools/sdk-common/26.1.2/sdk-common-26.1.2.jar
怎么能解决这个问题?