Android开发:android studio报错: Failed to resolve: com.android.support.constraint:constraint-layout:1.0.

情景:在build.gradle文件添加下面代码

compile 'com.android.support.constraint:constraint-layout:1.0.0-beta4'

点击“Sync now”后报错:

Failed to resolve:com.android.support.constraint:constraint-layout:1.0.0-beta4



解决:

需要安装插件:

在Android Studio工具中点击Tools-->Android-->SDK Manager-->SDK Tools

Android开发:android studio报错: Failed to resolve: com.android.support.constraint:constraint-layout:1.0._第1张图片

参考资料:

找不到 constraint-layout:1.0.0-alpha3

你可能感兴趣的:(Android开发:android studio报错: Failed to resolve: com.android.support.constraint:constraint-layout:1.0.)