Android Studio 3 constraint layout editor Issue

柔情痞子 提交于 2019-12-17 16:54:14

问题


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.

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


回答1:


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

In this Main thing you have to check gradle file.

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'




回答2:


Change the theme to Material will solve the issue. By default it will be AppTheme



来源:https://stackoverflow.com/questions/45105932/android-studio-3-constraint-layout-editor-issue

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!