渲染问题Android的工作室版本1.1 / 1.2 [英] Rendering problems in Android Studio v 1.1 / 1.2

查看:151
本文介绍了渲染问题Android的工作室版本1.1 / 1.2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我加入 android.support.v7.widget.Toolbar 或其他 android.support.v7.widget。* 有呈现问题。

When I add android.support.v7.widget.Toolbar or another android.support.v7.widget.* there are rendering problems.

不过的支持库的是最新的。我遵守的依赖条件正常。我可以在 MainActivity.java

But Support Library is up to date. And I complied in dependecies properly. I can import them in MainActivity.java

这是什么问题?

推荐答案

我不知道这是否会帮助或没有,但我创建一个测试项目(直接从向导,没有自定义code)和收到此错误。试图修改项目结构,并找到失踪的类并没有帮助。

I don't know if this will help or not, but I was creating a test project (direct from the wizard, no custom code) and getting this error. Trying to modify the project structure and find the missing class didn't help.

构建失败,出现以下错误:

The build failed with the following error:

***渲染问题。

以下类无法找到 android.support.v7.internal.widget .ActionBarOverlayLayout ***

The following classes could not be found android.support.v7.internal.widget.ActionBarOverlayLayout***

显然,这不是最终的解决方案,但改变从基地项目的主题为设计视图主题,以其他任何允许它来构建。

Obviously it's not the final solution, but changing the Theme in design view from the base "project theme" to anything else allows it to build.

这篇关于渲染问题Android的工作室版本1.1 / 1.2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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