appcompat_v7错误

时间:2014-10-18 00:55:01

标签: android eclipse android-appcompat material

我发现了Material support library (an updated appcompat-v7) is coming on October 17。 今天我尝试创建一个android项目,但我有大约100个错误连接到Material设计。这样的事情:

error: Error retrieving parent for item: No resource found that matches the given name '@android:TextAppearance.Material.SearchResult.Subtitle'. styles_base.xml /appcompat_v7/res/values-v21 line 168 Android AAPT Problem

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

1 个答案:

答案 0 :(得分:3)

更改为API v21支持库时,还必须更改build.gradle文件以使用

compileSdkVersion 21
buildToolsVersion '21.0.1'

为我修好了。

构建工具版本21.0.1是一个错误修复版本,它在周五晚些时候发布,用于修复aapt.exe中的崩溃。