2014-07-23 3 views
-3

나는 ActionBarSherlock을 api ver.r 4 (android 1.6)와 함께 사용하고 싶다. 적절한 빌드 타겟을 설정하고 오류가 발생했습니다.ActionBarSherlock using (api ver.4/android 1.6)

Error:(104, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:104: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionMode.Title'. Error:(4, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/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'. Error:(73, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:73: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.PopupWindow'. Error:(29, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:29: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar.TabText'. Error:(70, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:70: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ListView.DropDown'. Error:(33, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:33: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabText.Inverse'. Error:(51, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:51: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionMode'. Error:(38, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:38: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionButton'. Error:(4, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:4: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar'. Error:(63, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:63: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Spinner'. Error:(78, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:78: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ProgressBar'. Error:(96, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:96: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionBar.Title'. Error:(90, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:90: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.AutoCompleteTextView'. Error:(89, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values/abs__styles.xml:89: error: Error: No resource found that matches the given name: attr 'android:dividerPadding'. Error:(22, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__themes.xml:22: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'. Error:(119, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:119: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.PopupMenu.Small'. Error:(110, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:110: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionMode.Subtitle.Inverse'. Error:(68, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:68: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ListView.DropDown'. Error:(17, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:17: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabView'. Error:(75, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:75: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.PopupWindow'. Error:(183, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values/abs__styles.xml:183: error: Error: No resource found that matches the given name: attr 'android:showDividers'. Error:(83, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:83: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ProgressBar.Horizontal'. Error:(88, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:88: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.AutoCompleteTextView'. Error:(117, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:117: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.PopupMenu.Large'. Error:(309, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values/abs__styles.xml:309: error: Error: No resource found that matches the given name: attr 'android:textAllCaps'. Error:(58, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:58: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.PopupMenu'. Error:(26, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:26: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabBar.Inverse'. Error:(6, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:6: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar.Solid'. Error:(121, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:121: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.PopupMenu.Small'. Error:(15, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:15: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar.TabView'. Error:(108, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:108: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionMode.Subtitle'. Error:(36, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:36: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionButton'. Error:(65, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:65: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.Spinner'. Error:(8, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/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'. Error:(85, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:85: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ProgressBar.Horizontal'. Error:(46, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:46: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionButton.Overflow'. Error:(22, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:22: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar.TabBar'. Error:(24, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:24: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabBar'. Error:(88, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values/abs__styles.xml:88: error: Error: No resource found that matches the given name: attr 'android:showDividers'. Error:(8, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar'. Error:(6, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v11/abs__themes.xml:6: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'. Error:(6, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/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'. Error:(43, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:43: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionButton.CloseMode'. Error:(10, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:10: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.Solid'. Error:(26, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__themes.xml:26: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'. Error:(113, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:113: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.PopupMenu'. Error:(214, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values/abs__styles.xml:214: error: Error: No resource found that matches the given name: attr 'android:spinnerMode'. Error:(115, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:115: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.PopupMenu.Large'. Error:(19, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:19: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabView.Inverse'. Error:(60, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:60: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.PopupMenu'. Error:(106, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:106: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionMode.Title.Inverse'. Error:(80, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:80: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ProgressBar'. Error:(93, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:93: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionBar.Menu'. /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values/abs__styles.xml Error:(258, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values/abs__styles.xml:258: error: Error: No resource found that matches the given name: attr 'android:animationResolution'. Error:(55, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:55: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionMode.Inverse'. Error:(10, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v11/abs__themes.xml:10: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'. Error:(14, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__themes.xml:14: error: Error: No resource found that matches the given name: attr 'android:actionBarWidgetTheme'. /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v11/abs__themes.xml Error:(41, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:41: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionButton.CloseMode'. Error:(53, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:53: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionMode'. Error:(101, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values/abs__styles.xml:101: error: Error: No resource found that matches the given name: attr 'android:textAllCaps'. Error:(4, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/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'. Error:(98, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:98: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionBar.Title.Inverse'. Error:(31, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:31: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabText'. Error:(100, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:100: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionBar.Subtitle'. Error:(102, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:102: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionBar.Subtitle.Inverse'. /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml Error:(184, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values/abs__styles.xml:184: error: Error: No resource found that matches the given name: attr 'android:dividerPadding'. Error:(12, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:12: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.Solid.Inverse'. Error:(8, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/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'. Error:(48, -1) android-apt-compiler: [actionbarsherlock] /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__styles.xml:48: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionButton.Overflow'. /Users/jacekchronowski/Android/AppetizeSDKParam/actionbarsherlock/res/values-v14/abs__themes.xml

제 질문에는 어떤 문제가 있습니까?

편집 : 아마도 어떤 솔루션은 이전 버전의 ActionBarSherlock을 사용하게 될 것입니까?

+2

'작동하게 할 수있는 기회는 무엇입니까?'** ** ** ** ABS는 API 레벨 7 이상과 호환됩니다. Eclair가 전 세계의 현재 Android 기기 중 0.1 % ** 미만 **에서 사용되는 것을 고려하십시오. –

답변

1

라이브러리를 컴파일하거나 대상 API 레벨을 변경했다고 생각하면 라이브러리에 api 레벨 11 이상을 설정하고 프로젝트에 대해 API 레벨 4를 설정해야합니다.

+0

그래, 어떤 이전 버전이 api ver을 지원합니까? 4 (안드로이드 1.6)? – dzakens

+0

내가 API 레벨 4를 사용하는 이유를 모르겠다. 먼저 플랫폼 버전 배포를 확인해야한다고 생각한다. https://developer.android.com/about/dashboards/index.html min api는 8이고 배포는 0.7 %이다. 이번에는 세계에서 아무도 구버전을 지원하지 않는 14 버전입니다. – ihsanbal

2

any chances to make it working?NO : ABS는 API 레벨 7 +와 호환됩니다.
또한 Eclair가 전 세계의 현재 Android 기기 중 0.1 % 미만 개 미만인 으로 사용됩니다.

+0

이 호환성을 달성하고자하는 나의 목표는 내 고객이 아닌 고객의 요구 사항에서 비롯됩니다. – dzakens

+0

고객은 ActionBarSherlock을 보유하지 않습니다. ** 당신 만의 ** 액션 바 (몇몇 Views가있는 레이아웃)를 만들어야 할 것입니다. –

+0

물건은 더 복잡하지만 답장을 보내 주셔서 감사합니다. 클라이언트가 목표와 요구 사항을 변경하고자하지 않습니다. – dzakens