Android Studio-设计面板中没有设置

问题描述:

我最近使缓存无效,并重新启动了Android Studio 3.1,因为从3.0.1升级到3.1导致gradle构建错误,并且这里的另一个答案建议该方法.

I recently invalidated caches and restarted Android Studio 3.1 as the upgrade from 3.0.1 to 3.1 gave me gradle build errors and another answer on here suggested that method.

现在将构建我的gradle,但是设计面板不会显示预览,并且设置全部为空白或null或沿这些行.

My gradle will now build however the design palette doesn't show a preview, and the settings are all blank or null, or along those lines.

如何找回设计预览?

设计面板截图

工具窗口

尝试:

查看->工具窗口->预览

View -> Tool Windows -> Preview

尝试重建清理项目.您也可以重新启动android studio .

Try to rebuild or clean project. You can also restart android studio.