[英]I am getting rendering error in the latest android studio when trying to view the preview of an activity
Rendering Problems The following classes could not be instantiated: 呈现问题无法实例化以下类:
android.support.v7.internal.widget.ActionBarOverlayLayout (Open Class, Show Exception, Clear Cache) android.support.v7.internal.widget.ActionBarOverlayLayout(Open Class,Show Exception,Clear Cache)
What can be done to solve this? 可以做些什么来解决这个问题? I can't get any preview for my XML coding. 我无法预览XML编码。
我认为这不是最终解决方案,但是将设计视图中的Theme
从基础project theme
更改为其他任何内容都可以构建它。
从xml视图,检查你的右侧,有一个选项为“预览”
It happens to me too, 它也发生在我身上,
the only ways I found to fix this issue is: at the top of Designer window 我发现解决此问题的唯一方法是:在Designer窗口的顶部
OR 要么
the second choice is better because you will still able to see the same theme from API 22. 第二种选择更好,因为您仍然可以从API 22中看到相同的主题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.