error: Error retrieving parent for item: No resource found that matches the given name 'android:Wind
来源:互联网 发布:淘宝开店类目怎么选 编辑:程序博客网 时间:2024/05/16 06:27
当你的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
- 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
- Android系统编译过程中常见问题汇总(1)
- java中对时间的操作
- nodejs心得
- 编译Android源码的错误处理
- 用Delphi编写U盘整盘数据清除程序
- error: Error retrieving parent for item: No resource found that matches the given name 'android:Wind
- Computer Forensics-计算机法医学
- Notification管理器
- 使用Direct3D渲染2D图素
- 比欣技8000搞死
- 标准库定义的函数对象--接“将函数对象用于标准库算法”
- GCC优化与返回Local Variables
- 配置ubuntu的telnet服务
- 打电话