error: Error retrieving parent for item: No resource found that matches the given name 'android:Wind
来源:互联网 发布:java银行管理系统界面 编辑:程序博客网 时间:2024/05/20 21:23
当你的androidAPI 由2.1版本更换成2.2版本时:
error: Error retrieving parent for item: No resource found that matches the given name 'android:WindowTitle'.
从而导致我们的程序无法编译通过。
原因:
android2.1中的某些API(包括类方法或者XML属性)更换成android2.2时,它们的路径已经发生了改变,从而导致编译器无法找到它们,所以编译无法通过。
1. 在Eclipse中打开任意一个.java文件,输入
2. 回到报错的res/values/styles.xml, 将<style name="XWindowTitle" parent="">
关于Styles and Themes 之间的关系,请参考官方网站
http://developer.android.com/guide/topics/ui/themes.html
转载:http://blog.csdn.net/heirenheiren/article/details/7518596
转载:http://blog.csdn.net/heirenheiren/article/details/7518596
0 0
- error: Error retrieving parent for item: No resource found that matches the given name 'android:Wind
- error: Error retrieving parent for item: No resource found that matches the given name 'android:Wind
- error: Error retrieving parent for item: No resource found that matches the given name 'android:Wind
- error: Error retrieving parent for item: No resource found that matches the given name 'android:Them
- 解决error: Error retrieving parent for item: No resource found that matches the given name 'android:
- error: Error retrieving parent for item: No resource found that matches the given name 'android:Win
- Android:Error retrieving parent for item: No resource found that matches the given name解决方法
- Android Error retrieving parent for item: No resource found that matches the given name '...'
- Error retrieving parent for item: No resource found that matches the given name 'android:TextAppeara
- Error retrieving parent for item: No resource found that matches the given name 'android:TextAppeara
- Error retrieving parent for item: No resource found that matches the given name 'android:Theme....
- Android Error retrieving parent for item: No resource found that matches the given name '...'
- Error retrieving parent for item: No resource found that matches the given name 'android:W
- Error retrieving parent for item: No resource found that matches the given name 'android:TextAppeara
- error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCo
- 解决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 解决方法1
- error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCom
- qt使用ttf在2440上字体太小的问题
- Problem-1002
- ASP.NET-回调与回发区别
- 求素数 -- Python实现
- 【剑指offer系列】 数组中只出现一次的数字___40
- error: Error retrieving parent for item: No resource found that matches the given name 'android:Wind
- Python3:正则表达式
- C++虚函数和拷贝的问题总结
- 嵌入式Linux开发之Bootloader(Boot-XSBase27024)原理简介
- GrabMouse in Xlib
- Spark入门教程(2)---开发、编译配置
- java下载、安装与配置
- 指针对象数组的析构问题
- [DevExpress]控件之GridLookupedit的运用