android - 使用约束库的 1.0.0-alpha7 版本,该版本已过时

标签 android android-layout android-studio

我开始使用 Android Studio 2.2 并尝试使用 ConstraintLayout 但是当我让 android studio 自动添加它时它向我显示了该错误

Using version 1.0.0-alpha7 of the constraint library, which is obsolete

当我尝试使用快速修复对其进行升级时出现该错误

Error:Could not find com.android.support.constraint:constraint-layout:1.0.0-alpha8.

我认为这是 Android Studio 中的错误。我应该怎么做才能修复它?

我目前的解决方案是抑制错误。

最佳答案

文件 - 设置 - 外观和行为 - 系统设置 - Android SDK

记得选择“显示详细信息”。您应该看到最新版本的约束布局。 enter image description here

关于android - 使用约束库的 1.0.0-alpha7 版本,该版本已过时,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39640052/

相关文章:

android - 将 SeekBar 定位在另一个 View 的垂直边缘

android - 高于 maxVelocity 将方向更改为对角线,解决方法

java - Android ProgressDialog颜色随机反转

android - 如何提示用户在 Android 锁屏中输入密码?

javascript - 使用 javascript 将 Android WebView 滚动到下一页

android - 在 afterTextChanged 事件中获取 Editable id

android - 垂直拆分布局 Android

Android Eclipse - 增加我的表格布局的边距

android-studio - 如何让 Android Studio 一次显示所有编译器错误?

java - 设置媒体 Controller