appcompat_v7错误 [英] appcompat_v7 errors

查看:189
本文介绍了appcompat_v7错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现,<一个href=\"http://www.reddit.com/r/androiddev/comments/2jd5gl/roman_nurik_material_support_library_an_updated/\"相对=nofollow>材料支持库(更新的应用程序兼容性-V7)是在10月17日到来。
今天,我试图创建一个Android项目,但我有大约100错误连接到材质的设计。这样的事情:

I've found out that Material support library (an updated appcompat-v7) is coming on October 17. Today I've tried to create an android project, but I've got about 100 errors connected to the Material design. Something like that:

错误:错误为检索项父:没有资源的发现,匹配给定名称'@android:TextAppearance.Material.SearchResult.Subtitle。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线168的Andr​​oid AAPT问题

请帮我,如何解决这个问题呢?

Please, help me, how to resolve this problem?

推荐答案

当切换到API V21支持库,你也必须改变你的build.gradle文件中使用

When changing to the API v21 support libraries, you also have to change your build.gradle file to use

compileSdkVersion 21
buildToolsVersion '21.0.1'

这是固定的对我来说。

编译工具的版本21.0.1是出来周五晚修复aapt.exe崩溃bug修复版本。

Build tools version 21.0.1 is a bug fix release that came out late Friday to fix a crash in aapt.exe.

这篇关于appcompat_v7错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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