さて、ActionBarSherlockを機能させようとしているので、次の方法でライブラリをインポートしました。
Creating New Project > Create Project From Existing Source > Choosing library from the ActionBarSherlock folder
その後、同じ方法でサンプルフォルダーからサンプルプロジェクトをインポートしました。ライブラリとサンプルの両方がAndroid15ビルドパスに設定されています。
私の問題は、ライブラリに100を超えるエラーが発生し、Callに関するあらゆる種類のAPIレベル11が必要であり、何が問題なのかわかりません。
私が試したこと:
プロジェクトのクリーニングビルドパスを13、14、15に
設定
ほとんどのエラーは次のように述べています。
Call requires API level 11 (current min is 8): android.app.something
更新:libファイルを右クリックし、[ビルドパスに追加]をクリックしてみましたが、機能しませんでした。発生するエラーのいくつかを次に示します。
Description Resource Path Location Type
The method add(CharSequence) of type MenuWrapper must override a superclass method MenuWrapper.java /com_actionbarsherlock/src/com/actionbarsherlock/internal/view/menu line 33 Java Problem
The method add(int, int, int, CharSequence) of type MenuWrapper must override a superclass method MenuWrapper.java /com_actionbarsherlock/src/com/actionbarsherlock/internal/view/menu line 43 Java Problem
The method add(int, int, int, int) of type MenuWrapper must override a superclass method MenuWrapper.java /com_actionbarsherlock/src/com/actionbarsherlock/internal/view/menu line 48 Java Problem
The method add(int) of type MenuWrapper must override a superclass method MenuWrapper.java /com_actionbarsherlock/src/com/actionbarsherlock/internal/view/menu line 38 Java Problem
The method addIntentOptions(int, int, int, ComponentName, Intent[], Intent, int, MenuItem[]) of type MenuWrapper must override a superclass method MenuWrapper.java /com_actionbarsherlock/src/com/actionbarsherlock/internal/view/menu line 81 Java Problem
The method addOnAttachStateChangeListener(View_OnAttachStateChangeListener) of type ActionMenuItemView must override a superclass method ActionMenuItemView.java /com_actionbarsherlock/src/com/actionbarsherlock/internal/view/menu line 84 Java Problem
The method addOnAttachStateChangeListener(View_OnAttachStateChangeListener) of type ActionMenuPresenter.OverflowMenuButton must override a superclass method ActionMenuPresenter.java /com_actionbarsherlock/src/com/actionbarsherlock/internal/view/menu line 627 Java Problem
The method addSubMenu(CharSequence) of type MenuWrapper must override a superclass method MenuWrapper.java /com_actionbarsherlock/src/com/actionbarsherlock/internal/view/menu line 61 Java Problem
The method addSubMenu(int, int, int, CharSequence) of type MenuWrapper must override a superclass method MenuWrapper.java /com_actionbarsherlock/src/com/actionbarsherlock/internal/view/menu line 71 Java Problem
The method addSubMenu(int, int, int, int) of type MenuWrapper must override a superclass method MenuWrapper.java /com_actionbarsherlock/src/com/actionbarsherlock/internal/view/menu line 76 Java Problem
The method addSubMenu(int) of type MenuWrapper must override a superclass method MenuWrapper.java /com_actionbarsherlock/src/com/actionbarsherlock/internal/view/menu line 66 Java Problem
The method clear() of type MenuWrapper must override a superclass method MenuWrapper.java /com_actionbarsherlock/src/com/actionbarsherlock/internal/view/menu line 101 Java Problem
The method clearHeader() of type SubMenuWrapper must override a superclass method SubMenuWrapper.java /com_actionbarsherlock/src/com/actionbarsherlock/internal/view/menu line 49 Java Problem
The method close() of type MenuWrapper must override a superclass method MenuWrapper.java /com_actionbarsherlock/src/com/actionbarsherlock/internal/view/menu line 157 Java Problem
The method collapseActionView() of type ActionMenuItem must override a superclass method ActionMenuItem.java /com_actionbarsherlock/src/com/actionbarsherlock/internal/view/menu line 264 Java Problem
The method collapseActionView() of type MenuItemImpl must override a superclass method MenuItemImpl.java /com_actionbarsherlock/src/com/actionbarsherlock/internal/view/menu line 612 Java Problem
The method collapseActionView() of type MenuItemWrapper must override a superclass method MenuItemWrapper.java /com_actionbarsherlock/src/com/actionbarsherlock/internal/view/menu line 254 Java Problem
The method collapseItemActionView(MenuBuilder, MenuItemImpl) of type ActionBarView.ExpandedActionViewMenuPresenter must override a superclass method ActionBarView.java /com_actionbarsherlock/src/com/actionbarsherlock/internal/widget line 1497 Java Problem
The method describeContents() of type ActionMenuPresenter.SavedState must override a superclass method ActionMenuPresenter.java /com_actionbarsherlock/src/com/actionbarsherlock/internal/view/menu line 557 Java Problem
The method expandActionView() of type ActionMenuItem must override a superclass method ActionMenuItem.java /com_actionbarsherlock/src/com/actionbarsherlock/internal/view/menu line 259 Java Problem
The method expandActionView() of type MenuItemImpl must override a superclass method MenuItemImpl.java /com_actionbarsherlock/src/com/actionbarsherlock/internal/view/menu line 598 Java Problem
The method expandActionView() of type MenuItemWrapper must override a superclass method MenuItemWrapper.java /com_actionbarsherlock/src/com/actionbarsherlock/internal/view/menu line 249 Java Problem
The method expandItemActionView(MenuBuilder, MenuItemImpl) of type ActionBarView.ExpandedActionViewMenuPresenter must override a superclass method ActionBarView.java /com_actionbarsherlock/src/com/actionbarsherlock/internal/widget line 1471 Java Problem
The method findItem(int) of type MenuWrapper must override a superclass method MenuWrapper.java /com_actionbarsherlock/src/com/actionbarsherlock/internal/view/menu line 127 Java Problem
The method flagActionItems() of type ActionBarView.ExpandedActionViewMenuPresenter must override a superclass method ActionBarView.java /com_actionbarsherlock/src/com/actionbarsherlock/internal/widget line 1466 Java Problem
The method flagActionItems() of type MenuPopupHelper must override a superclass method MenuPopupHelper.java /com_actionbarsherlock/src/com/actionbarsherlock/internal/view/menu line 280 Java Problem
The method getActionProvider() of type ActionMenuItem must override a superclass method ActionMenuItem.java /com_actionbarsherlock/src/com/actionbarsherlock/internal/view/menu line 243 Java Problem
The method getActionProvider() of type MenuItemWrapper must override a superclass method MenuItemWrapper.java /com_actionbarsherlock/src/com/actionbarsherlock/internal/view/menu line 240 Java Problem
The method getActionView() of type MenuItemWrapper must override a superclass method MenuItemWrapper.java /com_actionbarsherlock/src/com/actionbarsherlock/internal/view/menu line 229 Java Problem
The method getAlphabeticShortcut() of type MenuItemWrapper must override a superclass method MenuItemWrapper.java /com_actionbarsherlock/src/com/actionbarsherlock/internal/view/menu line 123 Java Problem