在渲染过程中发生异常:无法找到操作栏布局 [英] Exception raised during rendering: Unable to find the layout for Action Bar

查看:174
本文介绍了在渲染过程中发生异常:无法找到操作栏布局的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

虽然采用了Android工作室我刚才编辑在编辑器中的XML文件,我得到了在preVIEW和设计窗口此错误:

While using Android Studio just now I was editing an XML file in the editor and I got this error in the Preview and Design windows:

 Exception raised during rendering: Unable to find the layout for Action Bar.

我试图重新启动Android的工作室,我的笔记本电脑和谷歌搜索的答案,但我无法找到任何东西。有没有人经历过类似的话?

I've tried restarting Android Studio, my Laptop and Googling for the answer but I can't find anything. Has anybody experienced anything similar?

推荐答案

我有这样那样的错误。在我的Mac,有API 22.如果我选择了它就会出现此错误。所以点击API 21或以下将解决您的问题。

I had this kind of error. On My Mac, there is API 22. If I choose it this error will appear. So clicking on API 21 or below would solve your problem

您可能需要更新您的工具

You probably need to update your tools

这篇关于在渲染过程中发生异常:无法找到操作栏布局的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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