Android Studio 3-约束布局编辑器损坏 [英] Android Studio 3 - Constraint layout editor broken

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

问题描述

我在macOS上将Android Studio 3.0(今天更新为Canary 4)用于辅助项目,最近(不确定何时)约束布局编辑器停止正常工作.

I'm using Android Studio 3.0 (updated to canary 4 today) on macOS for a side project and recently (not sure really when) the constraint layout editor stopped working properly.

现在,它仅显示一个灰色窗口,并且蓝图视图根本不起作用.甚至右侧的属性编辑器也不再显示约束.

Now it just shows a grey window and the blueprint view isn't working at all. Even the properties editor on the right doesn't show the constraints anymore.

这里是一个只有一个按钮的简单布局的外观:

Here how it looks for a simple layout with just 1 button:

我正在使用约束布局1.0.2,但在1.1.0-beta1上失败的方式相同.

I'm using constraint layout 1.0.2 but it fails the same way on 1.1.0-beta1.

有什么想法可能会出问题吗?在IDE或idea.log中不会显示任何错误

Any idea what could go wrong? No error are shown in the IDE or in the idea.log

在此先感谢您提供的帮助:)

Thanks in advance for any help provided :)

推荐答案

您正在使用哪个gradle版本?另外,支持库26.0.0-beta2在studio中存在问题,如果您正在使用它,则应降级为beta1以使用编辑器.

Which gradle version are you using? Also, support lib 26.0.0-beta2 has an issue with studio, if you are using it you should downgrade to beta1 to use the editor.

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

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