您的位置:首页 > 其它

Error retrieving parent for item: No resource found that matches the given name 如何解决

2017-10-12 14:57 1071 查看
项目编译过程中报错

<resources>
<style name="Base.TextAppearance.AppCompat.Widget.Button.Borderless.Colored" parent="android:TextAppearance.Material.Widget.Button.Borderless.Colored"/>
<style name="Base.TextAppearance.AppCompat.Widget.Button.Colored" parent="android:TextAppearance.Material.Widget.Button.Colored"/>
<style name="TextAppearance.AppCompat.Notification.Info.Media"/>
<style name="TextAppearance.AppCompat.Notification.Media"/>
<style name="TextAppearance.AppCompat.Notification.Time.Media"/>
<style name="TextAppearance.AppCompat.Notification.Title.Media"/>
</resources>


编译过程中提示



也就是你当前的sdk版本不支持,将sdk版本往大改,重新编译。

android {

...

compileSdkVersion compileSdkVersion: 25
buildToolsVersion buildToolsVersion: "25.0.2",

defaultConfig {
...
minSdkVersion: 15
targetSdkVersion : 25
...
}

}


问题解决。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐