
我正在使用ActionBarSherlock在AndroID 2.1 API 7项目上实现 *** 作栏. (使用Eclipse IDE)
为了使用sherlock,我将sherlock库作为Eclipse上的现有项目导入.然后,我将其作为库添加到我自己的项目中.
但是,在我自己的项目中,Eclipse的控制台向我显示了以下错误:
JakeWharton-ActionbarSherlock-436230d/library/res/values-v11/abs__styles.xml:4: error: Error retrIEving parent for item: No resource found that matches the given name 'androID:theme.Holo'.JakeWharton-ActionbarSherlock-436230d/library/res/values-v11/abs__styles.xml:48: error: Error: No resource found that matches the given name: attr 'androID:actionbarSize'.JakeWharton-ActionbarSherlock-436230d/library/res/values-v11/abs__styles.xml:49: error: Error: No resource found that matches the given name: attr 'androID:actionbarStyle'....为什么??
(我已将Sherlock的目标SDK设置为AndroID 3.2.)
解决方法:
将目标SDK设置为AndroID 3.2(版本14)或更高版本.如果我没有记错的话,您想要的版本可以是AndroID 1.5(版本7?)以上的版本.
总结以上是内存溢出为你收集整理的android-在我自己的项目中将ActionBarSherlock用作库全部内容,希望文章能够帮你解决android-在我自己的项目中将ActionBarSherlock用作库所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)