Android Studio 3 约束布局编辑器问题 [英] Android Studio 3 constraint layout editor Issue

查看:30
本文介绍了Android Studio 3 约束布局编辑器问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近在 macOS 上使用带有最新更新的 Android Studio 3.0,约束布局编辑器停止工作.当我在模拟器/设备上运行代码时它正在工作,但对于设计和预览选项卡,它没有显示.我使用的是约束布局 1.0.2 我试过其他版本也不起作用.

I'm using Android Studio 3.0 with the latest update on macOS recently the constraint layout editor stopped working. It's working when i run on the code on emulator/device but for the design and preview tabs it doesn't show up. I'm using constraint layout 1.0.2 i tried the other versions as well not working.

我已经尝试过支持库 26、26-beta1 和 26-beta2 也没有用.

i have tried support library 26, 26-beta1 and 26-beta2 no good there as well.

推荐答案

我在更新我的 Android Studio 时遇到了同样的问题.这是因为您的 支持库 是最新版本.看到这个:看到链接

I have face same issue while i update my Android Studio. it's because of your support library latest version. see this : See Link

在这个主要的事情中,你必须检查 gradle 文件.

In this Main thing you have to check gradle file.

由于 26 版本仍处于测试阶段,因此您必须降低对 lib 版本的支持

In sort you have to down support lib version because 26 version is still in beta phase

编译com.android.support:appcompat-v7:25.4.0'

这篇关于Android Studio 3 约束布局编辑器问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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