<style name="Theme.Base.AppCompat.DialogWhenLarge" 的错误是error: Error retrieving parent for item: No
来源:互联网 发布:php网站培训学校 编辑:程序博客网 时间:2024/04/28 08:47
这个问题主要是版本的原因,入门菜鸟可以不用关心,解决方法有:
修改项目刚建好就有的那个错误.
方法一:直接删除错误就可以了
方法二:
打开错误处根源处
将<stylename="Theme.Base.AppCompat.DialogWhenLarge"
parent="Theme.Base.AppCompat.DialogWhenLarge.Base"/>
<stylename="Theme.Base.AppCompat.Light.DialogWhenLarge"
parent="Theme.Base.AppCompat.Light.DialogWhenLarge.Base"/>
改成
<stylename="Theme.Base.AppCompat.DialogWhenLarge"
parent="android:TextAppearance.WindowTitle"/>
<stylename="Theme.Base.AppCompat.Light.DialogWhenLarge"
parent="android:TextAppearance.WindowTitle"/>
后点保存,这个地方的错误就没了,但是同时这个错误出现了
5)找到错误根源
鼠标放在有红波浪线代码上,单击右键
选择“快速修正”
就OK了。
方法3:
将<stylename="Theme.Base.AppCompat.DialogWhenLarge"
parent="Theme.Base.AppCompat.DialogWhenLarge.Base"/>
<stylename="Theme.Base.AppCompat.Light.DialogWhenLarge"
parent="Theme.Base.AppCompat.Light.DialogWhenLarge.Base"/>
改成
<stylename="Theme.Base.AppCompat.DialogWhenLarge"
parent="Base.Theme.AppCompat.DialogWhenLarge"/>
<stylename="Theme.Base.AppCompat.Light.DialogWhenLarge"
parent="Base.Theme.AppCompat.DialogWhenLarge"/>
其他步骤同方法二
- <style name="Theme.Base.AppCompat.DialogWhenLarge" 的错误是error: Error retrieving parent for item: No
- Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Lig
- Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Lig
- Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Lig
- Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Lig
- Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Lig
- 解决error: Error retrieving parent for item: No resource found that matches the given name 'AppCompat'
- error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCom
- error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCom
- error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCom
- error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCom
- error: Error retrieving parent for item: No resource found that matches the given name 'Theme.App
- error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCom
- error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCom
- error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCom
- Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.A
- Android错误之--Error retrieving parent for item: No resource found that matches the given name 'Theme.A
- Error retrieving parent for item: No resource found that matches the given name 'android:Theme....
- Android优化笔记
- 通信阶段的总结
- 【转】vc++6.0 字节定义和字节转换。
- ASP.NET合并两个相关联的DataTable
- iOS开发拓展篇—UIDynamic(简单介绍)
- <style name="Theme.Base.AppCompat.DialogWhenLarge" 的错误是error: Error retrieving parent for item: No
- iOS开发拓展篇—音效的播放
- linux ubuntu 下面安装google浏览器
- iOS开发拓展篇—音乐的播放
- iOS开发拓展篇—封装音频文件播放工具类
- iOS开发拓展篇—CoreLocation简单介绍
- hadoop相关资料
- oracle merge和批量insert实操
- SIGABRT和EXC_BAD_ACCESS引起的crash1、平常我们写程序的时候经常会遇到这样