Gradle 同步失败找不到约束布局:1.0.0-alpha2 [英] Gradle Sync failed could not find constraint-layout:1.0.0-alpha2

查看:31
本文介绍了Gradle 同步失败找不到约束布局:1.0.0-alpha2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题:

Error:Could not find com.android.support.constraint:constraint-layout:1.0.0-alpha2.
Required by:
myapp:app:unspecified

背景:Android Studio 2.2 P 1

Background : Android Studio 2.2 P 1

推荐答案

无法安装/更新 ConstraintLayout 的支持库.

Support libraries for ConstraintLayout could not be installed/updated.

只需打开 Preferences > Appearance &Behavior > System Settings > Android 并移动到SDK Tools 选项卡.检查以下字段并安装.

Just open Preferences > Appearance & Behavior > System Settings > Android and move to SDK Tools tab. Check the following fields and install.

这篇关于Gradle 同步失败找不到约束布局:1.0.0-alpha2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆