liyyanli

导航

 

https://blog.csdn.net/qzltqdf3179103/article/details/79583491


compileSdkVersion 26
buildToolsVersion "26.0.2"
修改后,下面三行报错。

Error:Could not find com.android.support:design:26.1.0.
Required by:
project :JingYeLogistics

Please install the Android Support Repository from the Android SDK Manager.
<a href="openAndroidSdkManager">Open Android SDK Manager</a>



compile 'com.android.support:design:26.1.0'
compile 'com.android.support:appcompat-v7:26.1.0'
compile 'com.android.support:cardview-v7:26.1.0'
在项目的build.gradle文件夹下:添加
allprojects {
repositories {
jcenter()
maven { url "https://maven.google.com" }
}
}
posted on 2018-11-13 17:05  liyyanli  阅读(203)  评论(0编辑  收藏  举报