Error:(27, 13) Failed to resolve: com.android.support.constraint:constraint-layout:1.0.2约束布局constrai

Posted RockSmall

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Error:(27, 13) Failed to resolve: com.android.support.constraint:constraint-layout:1.0.2约束布局constrai相关的知识,希望对你有一定的参考价值。

运行demo提示错误: 
Error:(27, 13) Failed to resolve: com.android.support.constraint:constraint-layout:1.0.2
是你的androidStudio 要安装插件才可以运行这个包。 

详细步骤说: 
a. 点击Tools>android>SDK Manager 
b. 点击SDK Tools标签 
c.选择show pack details,找到support repository->constraintlayout for android下面可以看到现在你 的系统需要安装constraint-layout的版本,根据这个安装你当前系统的相应版本。 
d.选择你想安装的版本。  
安装完你的插件就OK了。








以上是关于Error:(27, 13) Failed to resolve: com.android.support.constraint:constraint-layout:1.0.2约束布局constrai的主要内容,如果未能解决你的问题,请参考以下文章

错误:(26, 13) Failed to resolve: com.android.support:appcompat-v7:27.+

error: failed to connect to the hypervisor error: Failed to connect socket to '/var/run/libvirt/

Attempting to fetch value instead of handling error Internal: failed to get device attribute 13 for

ERROR Failed to compile with 541 errors 11:27:44 These dependencies were not found: * core-js/mod

断重启从库故障:电Last_Error: Slave failed to initialize relay log info structure from the repository

Failed to resolve: com.android.support:appcompat-v7:27.0.1问题解决