com.android.support.constraint:constraint-layout

Error:(29, 13) 

Failed to resolve: com.android.support.constraint:constraint-layout:1.0

Install Repository and sync project

Show in File

Show in Project Structure dialog

点击Install Repository and sync project下载后出现

All packages are not available for download!  

The following packages are not available:

-Package id extras;android;m2repository

com.android.support.constraint:constraint-layout_第1张图片

如果设置了代理把代理关掉:setting -> proxy,这里勾选no proxy。

如果代理关掉了的情况下还是出现这种情况:在 项目名称\app\build.gradle中

compile 'com.android.support.constraint:constraint-layout:1.0.0'
改为:
compile 'com.android.support.constraint:constraint-layout:1.0.2'

你可能感兴趣的:(com.android.support.constraint:constraint-layout)