我正在使用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。)