"error: Error retrieving parent for item: No resource found that matches" 错误的解决方法
[2013-12-02 17:30:27 - OPD_slidingmenuDemo] D:\workspace\OP_actionbarsherlock\res\values-v11\abs__themes.xml:4: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo'.
[2013-12-02 17:30:27 - OPD_slidingmenuDemo] D:\workspace\OP_actionbarsherlock\res\values-v11\abs__themes.xml:6: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'.
[2013-12-02 17:30:27 - OPD_slidingmenuDemo] D:\workspace\OP_actionbarsherlock\res\values-v14\abs__themes.xml:4: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo'.
[2013-12-02 17:30:27 - OPD_slidingmenuDemo] D:\workspace\OP_actionbarsherlock\res\values-v11\abs__themes.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light'.
[2013-12-02 17:30:27 - OPD_slidingmenuDemo] D:\workspace\OP_actionbarsherlock\res\values-v11\abs__themes.xml:10: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'.
[2013-12-02 17:30:27 - OPD_slidingmenuDemo] D:\workspace\OP_actionbarsherlock\res\values-v14\abs__themes.xml:6: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light'.
[2013-12-02 17:30:27 - OPD_slidingmenuDemo] D:\workspace\OP_actionbarsherlock\res\values-v14\abs__themes.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light.DarkActionBar'.
[2013-12-02 17:30:27 - OPD_slidingmenuDemo] D:\workspace\OP_actionbarsherlock\res\values-v14\abs__themes.xml:14: error: Error: No resource found that matches the given name: attr 'android:actionBarWidgetTheme'.
[2013-12-02 17:30:27 - OPD_slidingmenuDemo] D:\workspace\OP_actionbarsherlock\res\values-v14\abs__themes.xml:22: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'.
[2013-12-02 17:30:27 - OPD_slidingmenuDemo] D:\workspace\OP_actionbarsherlock\res\values-v14\abs__themes.xml:26: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'.
上面类似错误的解决方法:
把你例子中manifest文件里面的的
再有把你project.properties文件里面的target=android-15设置成与targetSDKVersion一致。(这两个设置成3.0版本的应该就好使。我设置成13是好使。)
更多相关文章
- Android 平台根目录文件
- Android string.xml文件中使用格式化符号%
- Android下文件资源管理器雏形实现
- 阿里Android开发规范:文件与数据库
- Cocos2dx播放mp4文件(IOS和Android)
- Android——文件存储之外部存储(含源码下载)