Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8875609
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T19:00:59+00:00 2026-06-14T19:00:59+00:00

I’m trying to change an Android app to use ActionBarSherlock. I added the library

  • 0

I’m trying to change an Android app to use ActionBarSherlock. I added the library and set everything up (I think) correctly. But when I try to run the app I run into a bunch of errors, not with the app itself but with the ActionBarSherlock sources.

Here’s what it’s saying:

Information:Compilation completed with 24 errors and 13 warnings
Information:24 errors
Information:13 warnings
C:\Users\Nolan\IdeaProjects\ActionBarSherlock-4.2.0\library\src\com\actionbarsherlock\app\ActionBar.java
    Warning:Warning:line (949)[deprecation] FILL_PARENT in LayoutParams has been deprecated
C:\Users\Nolan\IdeaProjects\ActionBarSherlock-4.2.0\library\src\com\actionbarsherlock\internal\app\ActionBarImpl.java
    Error:Error:line (66)error: ActionBarImpl is not abstract and does not override abstract method setSecondaryProgress(int) in ActionBarSherlock
    Error:Error:line (135)error: constructor ActionBar in class ActionBar cannot be applied to given types;
required: Activity,int
found: no arguments
reason: actual and formal argument lists differ in length
    Error:Error:line (147)error: constructor ActionBar in class ActionBar cannot be applied to given types;
required: Activity,int
found: no arguments
reason: actual and formal argument lists differ in length
C:\Users\Nolan\IdeaProjects\ActionBarSherlock-4.2.0\library\src\com\actionbarsherlock\internal\widget\ActionBarContainer.java
    Warning:Warning:line (58)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated
C:\Users\Nolan\IdeaProjects\ActionBarSherlock-4.2.0\library\src\com\actionbarsherlock\internal\widget\ActionBarContextView.java
    Warning:Warning:line (81)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated
    Warning:Warning:line (115)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated
    Warning:Warning:line (129)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated
    Warning:Warning:line (231)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated
    Warning:Warning:line (244)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated
C:\Users\Nolan\IdeaProjects\ActionBarSherlock-4.2.0\library\src\com\actionbarsherlock\internal\widget\ScrollingTabContainerView.java
    Warning:Warning:line (280)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated
C:\Users\Nolan\IdeaProjects\ActionBarSherlock-4.2.0\library\src\com\actionbarsherlock\internal\widget\IcsProgressBar.java
    Warning:Warning:line (207)[deprecation] animationResolution in attr has been deprecated
C:\Users\Nolan\IdeaProjects\ActionBarSherlock-4.2.0\library\src\com\actionbarsherlock\internal\view\menu\MenuPopupHelper.java
    Warning:Warning:line (145)[deprecation] removeGlobalOnLayoutListener(OnGlobalLayoutListener) in ViewTreeObserver has been deprecated
    Warning:Warning:line (216)[deprecation] removeGlobalOnLayoutListener(OnGlobalLayoutListener) in ViewTreeObserver has been deprecated
C:\Users\Nolan\IdeaProjects\ActionBarSherlock-4.2.0\library\src\com\actionbarsherlock\internal\app\ActionBarWrapper.java
    Error:Error:line (16)error: ActionBarWrapper is not abstract and does not override abstract method startActionMode(Callback) in ActionBarSherlock
    Error:Error:line (24)error: constructor ActionBar in class ActionBar cannot be applied to given types;
required: Activity,int
found: no arguments
reason: actual and formal argument lists differ in length
C:\Users\Nolan\IdeaProjects\ActionBarSherlock-4.2.0\library\src\com\actionbarsherlock\internal\view\ActionProviderWrapper.java
    Warning:Warning:line (22)[deprecation] onCreateActionView() in ActionProvider has been deprecated
C:\Users\Nolan\IdeaProjects\ActionBarSherlock-4.2.0\library\src\com\actionbarsherlock\internal\view\menu\ListMenuItemView.java
    Warning:Warning:line (86)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated
C:\Users\Nolan\IdeaProjects\ActionBarSherlock-4.2.0\library\test\com\actionbarsherlock\internal\ManifestParsingTest.java
    Error:Error:line (3)error: package org.junit does not exist
    Error:Error:line (5)error: cannot find symbol class ActionBarSherlockCompat
    Error:Error:line (5)error: static import only from classes and interfaces
    Error:Error:line (6)error: package org.hamcrest does not exist
    Error:Error:line (6)error: static import only from classes and interfaces
    Error:Error:line (7)error: package org.junit does not exist
    Error:Error:line (7)error: static import only from classes and interfaces
    Error:Error:line (10)error: cannot find symbol class Test
    Error:Error:line (17)error: cannot find symbol class Test
    Error:Error:line (24)error: cannot find symbol class Test
    Error:Error:line (31)error: cannot find symbol class Test
    Error:Error:line (13)error: cannot find symbol method cleanActivityName(String,String)
    Error:Error:line (14)error: cannot find symbol method equalTo(String)
    Error:Error:line (20)error: cannot find symbol method cleanActivityName(String,String)
    Error:Error:line (21)error: cannot find symbol method equalTo(String)
    Error:Error:line (27)error: cannot find symbol method cleanActivityName(String,String)
    Error:Error:line (28)error: cannot find symbol method equalTo(String)
    Error:Error:line (34)error: cannot find symbol method cleanActivityName(String,String)
    Error:Error:line (35)error: cannot find symbol method equalTo(String)

I’m really not sure what’s going wrong, since it doesn’t seem to be anything that I did but rather a problem with ActionBarSherlock itself. What should I do?

Also I’m using IntelliJ IDEA to create and build the project. And the project itself is a library project with two different versions so I can support a free and paid version of the app.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T19:01:00+00:00Added an answer on June 14, 2026 at 7:01 pm

    1) Did you add the ActionbBarSherlock in your project correcly?
    see Librairy

    2) Is your project buid target >= Android 3.0 ?
    see Project Build Target

    3) Are you using the android support librairy in your project? If so please remove it because it is already in the ActionBarSherlock librairy

    See Java Build Path

    4) Each time you try to include the ActionBarSherlock into your project be sure to do steps 1,2,3 and clean those projects frequently if you see any “x” and “!” marks on both projects
    Project -> Clean...

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to understand how to use SyndicationItem to display feed which is
I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
I'm trying to use string.replace('’','') to replace the dreaded weird single-quote character: ’ (aka
Basically, what I'm trying to create is a page of div tags, each has
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
I am trying to render a haml file in a javascript response like so:
I have a French site that I want to parse, but am running into
I want use html5's new tag to play a wav file (currently only supported

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.