0
我加入了ABS作爲庫項目到我的Android應用程序,並設置目標版本兩個庫和我的項目API 15,還是我得到這些error.Could任何人都告訴我,我究竟做錯了什麼?使用ActionBarSherlock版本4.1時未發現資源錯誤?
[2013-04-03 13:00:25 - com.hello.home.Login] C:\Documents and Settings\User\My Documents\My Workspace\library\res\layout\abs__search_dropdown_item_icons_2line.xml:21: error: Error: No resource found that matches the given name (at 'paddingLeft' with value '@dimen/abs__dropdownitem_text_padding_left').
[2013-04-03 13:00:25 - com.hello.home.Login] C:\Documents and Settings\User\My Documents\My Workspace\library\res\layout\abs__search_dropdown_item_icons_2line.xml:21: error: Error: No resource found that matches the given name (at 'layout_height' with value '?attr/searchResultListItemHeight').
[2013-04-03 13:00:25 - com.hello.home.Login] C:\Documents and Settings\User\My Documents\My Workspace\library\res\layout\abs__search_dropdown_item_icons_2line.xml:29: error: Error: No resource found that matches the given name (at 'layout_width' with value '@dimen/abs__dropdownitem_icon_width').
[2013-04-03 13:00:25 - com.hello.home.Login] C:\Documents and Settings\User\My Documents\My Workspace\library\res\layout\abs__search_dropdown_item_icons_2line.xml:38: error: Error: No resource found that matches the given name (at 'src' with value '?attr/searchViewEditQuery').
[2013-04-03 13:00:25 - com.hello.home.Login] C:\Documents and Settings\User\My Documents\My Workspace\library\res\layout\abs__search_dropdown_item_icons_2line.xml:38: error: Error: No resource found that matches the given name (at 'background' with value '?attr/searchViewEditQueryBackground').
[2013-04-03 13:00:25 - com.hello.home.Login] C:\Documents and Settings\User\My Documents\My Workspace\library\res\layout\abs__search_dropdown_item_icons_2line.xml:62: error: Error: No resource found that matches the given name (at 'textAppearance' with value '?attr/textAppearanceSearchResultSubtitle').
[2013-04-03 13:00:25 - com.hello.home.Login] C:\Documents and Settings\User\My Documents\My Workspace\library\res\layout\abs__search_dropdown_item_icons_2line.xml:78: error: Error: No resource found that matches the given name (at 'textAppearance' with value '?attr/textAppearanceSearchResultTitle').
[2013-04-03 13:00:25 - com.hello.home.Login] C:\Documents and Settings\User\My Documents\My Workspace\library\res\layout\abs__search_view.xml:41: error: Error: No resource found that matches the given name (at 'src' with value '?attr/searchViewSearchIcon').
[2013-04-03 13:00:25 - com.hello.home.Login] C:\Documents and Settings\User\My Documents\My Workspace\library\res\layout\abs__search_view.xml:41: error: Error: No resource found that matches the given name (at 'contentDescription' with value '@string/abs__searchview_description_search').
[2013-04-03 13:00:25 - com.hello.home.Login] C:\Documents and Settings\User\My Documents\My Workspace\library\res\layout\abs__search_view.xml:63: error: Error: No resource found that matches the given name (at 'layout_width' with value '@dimen/abs__dropdownitem_icon_width').
[2013-04-03 13:00:25 - com.hello.home.Login] C:\Documents and Settings\User\My Documents\My Workspace\library\res\layout\abs__search_view.xml:63: error: Error: No resource found that matches the given name (at 'layout_marginLeft' with value '@dimen/abs__dropdownitem_text_padding_left').
[2013-04-03 13:00:25 - com.hello.home.Login] C:\Documents and Settings\User\My Documents\My Workspace\library\res\layout\abs__search_view.xml:63: error: Error: No resource found that matches the given name (at 'src' with value '?attr/searchViewSearchIcon').
[2013-04-03 13:00:25 - com.hello.home.Login] C:\Documents and Settings\User\My Documents\My Workspace\library\res\layout\abs__search_view.xml:75: error: Error: No resource found that matches the given name (at 'background' with value '?attr/searchViewTextField').
[2013-04-03 13:00:25 - com.hello.home.Login] C:\Documents and Settings\User\My Documents\My Workspace\library\res\layout\abs__search_view.xml:84: error: Error: No resource found that matches the given name (at 'style' with value '?attr/searchAutoCompleteTextView').
[2013-04-03 13:00:25 - com.hello.home.Login] C:\Documents and Settings\User\My Documents\My Workspace\library\res\layout\abs__search_view.xml:84: error: Error: No resource found that matches the given name (at 'minWidth' with value '@dimen/abs__search_view_text_min_width').
[2013-04-03 13:00:25 - com.hello.home.Login] C:\Documents and Settings\User\My Documents\My Workspace\library\res\layout\abs__search_view.xml:84: error: Error: No resource found that matches the given name (at 'paddingLeft' with value '@dimen/abs__dropdownitem_text_padding_left').
[2013-04-03 13:00:25 - com.hello.home.Login] C:\Documents and Settings\User\My Documents\My Workspace\library\res\layout\abs__search_view.xml:84: error: Error: No resource found that matches the given name (at 'paddingRight' with value '@dimen/abs__dropdownitem_text_padding_right').
[2013-04-03 13:00:25 - com.hello.home.Login] C:\Documents and Settings\User\My Documents\My Workspace\library\res\layout\abs__search_view.xml:84: error: Error: No resource found that matches the given name (at 'contentDescription' with value '@string/abs__searchview_description_query').
[2013-04-03 13:00:25 - com.hello.home.Login] C:\Documents and Settings\User\My Documents\My Workspace\library\res\layout\abs__search_view.xml:106: error: Error: No resource found that matches the given name (at 'background' with value '?attr/selectableItemBackground').
[2013-04-03 13:00:25 - com.hello.home.Login] C:\Documents and Settings\User\My Documents\My Workspace\library\res\layout\abs__search_view.xml:106: error: Error: No resource found that matches the given name (at 'src' with value '?attr/searchViewCloseIcon').
[2013-04-03 13:00:25 - com.hello.home.Login] C:\Documents and Settings\User\My Documents\My Workspace\library\res\layout\abs__search_view.xml:106: error: Error: No resource found that matches the given name (at 'contentDescription' with value '@string/abs__searchview_description_clear').
[2013-04-03 13:00:25 - com.hello.home.Login] C:\Documents and Settings\User\My Documents\My Workspace\library\res\layout\abs__search_view.xml:121: error: Error: No resource found that matches the given name (at 'background' with value '?attr/searchViewTextFieldRight').
[2013-04-03 13:00:25 - com.hello.home.Login] C:\Documents and Settings\User\My Documents\My Workspace\library\res\layout\abs__search_view.xml:128: error: Error: No resource found that matches the given name (at 'background' with value '?attr/selectableItemBackground').
[2013-04-03 13:00:25 - com.hello.home.Login] C:\Documents and Settings\User\My Documents\My Workspace\library\res\layout\abs__search_view.xml:128: error: Error: No resource found that matches the given name (at 'src' with value '?attr/searchViewGoIcon').
[2013-04-03 13:00:25 - com.hello.home.Login] C:\Documents and Settings\User\My Documents\My Workspace\library\res\layout\abs__search_view.xml:128: error: Error: No resource found that matches the given name (at 'contentDescription' with value '@string/abs__searchview_description_submit').
[2013-04-03 13:00:25 - com.hello.home.Login] C:\Documents and Settings\User\My Documents\My Workspace\library\res\layout\abs__search_view.xml:142: error: Error: No resource found that matches the given name (at 'src' with value '?attr/searchViewVoiceIcon').
[2013-04-03 13:00:25 - com.hello.home.Login] C:\Documents and Settings\User\My Documents\My Workspace\library\res\layout\abs__search_view.xml:142: error: Error: No resource found that matches the given name (at 'background' with value '?attr/selectableItemBackground').
[2013-04-03 13:00:25 - com.hello.home.Login] C:\Documents and Settings\User\My Documents\My Workspace\library\res\layout\abs__search_view.xml:142: error: Error: No resource found that matches the given name (at 'contentDescription' with value '@string/abs__searchview_description_voice').
執行ActionBarSherlock庫項目或您自己的應用程序的項目顯示在Eclipse中的任何錯誤(如果這是您所使用的IDE)?這可能導致資源文件(R.java)不被生成,從而導致無法找到資源的錯誤。 – saschoar