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

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

问题描述

我正在将Android Studio 3.0与macOS上的最新更新一起使用,最近约束布局编辑器停止工作.当我在模拟器/设备上的代码上运行时,它正在工作,但是对于设计和预览选项卡却没有显示. 我正在使用约束布局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时遇到同样的问题.这是因为您的support library最新版本. 查看此内容:查看链接

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

compile com.android.support:appcompat-v7:25.4.0'

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

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