آموزش های این وب سایت به صورت رایگان در دسترس است. اطلاعات بیشتر
بروز خطا
   [message]
اشتراک در سوال
رای ها
[dataList]

آیا این ارور به دلیل قدیمی بودن ورژن eclipse است؟

hosseinAmini  12 سال پیش  11 سال پیش
0 0

سلام
برای اینکه برنامه ام در اندروید ورژن 2.2 اجرا شه باید از  android-support-v7-appcompat-master استفاده کنم. ولی به محض اسنکه این کتابخانه رو به برنامه اضافه می کنم ارور میده که Holo.Light.ActionBar پیدا نشد.
خطا:

 [2014-06-05 18:39:01 - Framework Resource Parser] Collect preferences failed, class java/lang/AutoCloseable not found in D:\dev\sdk\android\platforms\android-19\android.jar
D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:24: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar'.
D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:28: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar'.
D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:32: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar.Solid'.
D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:36: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.Solid'.
D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:40: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.Solid.Inverse'.
D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:122: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionButton'.
D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:125: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionButton'.
D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:129: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionButton.CloseMode'.
D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:133: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionButton.CloseMode'.
D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:137: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionButton.Overflow'.
D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:141: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionButton.Overflow'.
D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:44: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar.TabBar'.
D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:48: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabBar'.
D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:52: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabBar.Inverse'.
D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:56: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar.TabView'.
D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:60: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabView'.
D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:64: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabView.Inverse'.
D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:68: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar.TabText'.
D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:72: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabText'.
D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:76: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabText.Inverse'.
D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:80: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionMode.Inverse'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:104: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionMode.Title'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:108: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionMode.Subtitle'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:112: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionMode.Title.Inverse'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:116: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionMode.Subtitle.Inverse'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:84: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionBar.Menu'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:88: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionBar.Title'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:92: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionBar.Subtitle'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:96: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionBar.Title.Inverse'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:100: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionBar.Subtitle.Inverse'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v11\styles_base.xml:26: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ProgressBar.Horizontal'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v11\styles_base.xml:30: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ProgressBar'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:159: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Spinner'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:161: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.Spinner'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:153: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.DropDownItem.Spinner'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:156: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.DropDownItem.Spinner'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:147: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ListView.DropDown'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:150: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ListView.DropDown'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:167: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ListPopupWindow'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:171: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ListPopupWindow'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:175: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.PopupMenu'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:178: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.PopupMenu'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:182: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.PopupMenu.Large'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:186: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.PopupMenu.Small'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:190: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.PopupMenu.Large'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:194: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.PopupMenu.Small'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:200: error: Error retrieving parent for item: No resource found that matches the given name '@android:TextAppearance.Holo.SearchResult.Title'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:204: error: Error retrieving parent for item: No resource found that matches the given name '@android:TextAppearance.Holo.SearchResult.Subtitle'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:212: error: Error retrieving parent for item: No resource found that matches the given name '@android:TextAppearance.Holo.SearchResult.Title'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:216: error: Error retrieving parent for item: No resource found that matches the given name '@android:TextAppearance.Holo.SearchResult.Subtitle'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v11\styles_base.xml:36: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.AutoCompleteTextView'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v11\styles_base.xml:40: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.AutoCompleteTextView'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:225: error: Error: No resource found that matches the given name: attr 'android:dividerPadding'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v14\styles_base.xml:224: error: Error: No resource found that matches the given name: attr 'android:showDividers'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v11\themes_base.xml:31: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v11\themes_base.xml:33: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v11\themes_base.xml:42: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v11\themes_base.xml:44: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v14\themes_base.xml:31: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v14\themes_base.xml:41: error: Error: No resource found that matches the given name: attr 'android:actionBarWidgetTheme'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v14\themes_base.xml:57: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v14\themes_base.xml:67: error: Error: No resource found that matches the given name: attr 'android:actionBarWidgetTheme'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v14\themes_base.xml:83: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light.DarkActionBar'.
[2014-06-05 18:39:43 - sheklakSender] D:\dev\project\android\android-support-v7-appcompat\res\values-v14\themes_base.xml:94: error: Error: No resource found that matches the given name: attr 'android:actionBarWidgetTheme'.

بی زحمت اگه مشکل از ورژن eclipse بگید تا عوضش کنم.

 برای این سوال 2 پاسخ وجود دارد.
پاسخ به سوال 
Vahid  12 سال پیش
+2 0

روی پروژه کلیک راست کنید و در قسمت Android در بخش Project Build Target اندروئید 4.0.3 ویا مشابهش رو انتخاب و اوکی کنید ...

فک میکنم مشکل حل بشه ...

پاسخ به سوال 
+2 0

جهت حل این مشکل به این لینک مراجعه کنید. مشکل من که حل شد.


پاسخگویی و مشاهده پاسخ های این سوال تنها برای اعضای ویژه سایت امکان پذیر است .
چنانچه تمایل دارید به همه بخش ها دسترسی داشته باشید میتوانید از این بخش لایسنس این آموزش را خریداری نمایید .