ActionbarSherlock not working

I am having problems running ActionBarSherlock. I downloaded version 4.1.0 and completed the following tutorial to install it.

http://www.youtube.com/watch?v=4GJ6yY1lNNY

The problem I am facing is when I create a new project and add the ActionbarSherlock library project to it. I get the following error.

Description Resource    Path    Location    Type
The container 'Android Dependencies' references non existing library 'C:\Work\JakeWharton-ActionBarSherlock-4.1.0-0-g9598f2b\JakeWharton-ActionBarSherlock-88fc341\library\bin\com_actionbarsherlock.jar'   myapp       Build path  Build Path Problem

Please help me with this.

+5
source share
7 answers

I had the same problem: the .jar file is requested, but does not exist. In addition, it is normal that the file does not exist, because we want to use the Android library project, and not the included jar library.

, Aqif Hamid, , ( .jar ) . , , (AndroidBar Sherlock Android) Java 1.6

Project Properties = > Java Compiler 1.6 , JDK 1.6 ...

, !

+4

, , - "" " Java" → 1,7 ( 1,6). Android Tools, Fix Project Properties

+2

:

  • , bin, res. "libs" ( libs ).
  • com_actionbarsherlock.jar libs.
  • com_actionbarsherlock.jar Add to Build Path.
  • . .

Edit:

, :

  • , , .
  • , Porperties.
  • Android , , . Add.
  • , porjects. Ok. .
  • Apply Ok.
  • , .

,

+1

, ActionBarSherlock , lib ( ). Android ActionBarSherlock, :

  • ActionBarSherlock Eclipse
  • ""
  • Android
  • , , Add... ActionBarSherlock, 1.

, ,  ( ).

+1

1 - libs ( )

→ → → Java → → Jar → yourjar.jar

, .

http://mobile.tutsplus.com/tutorials/android/jar-for-android/

0

Clean up the actionbarsherlock project. It will generate a .jar file for you when you rebuild it.

0
source

Using the Android Tools option to add compatible libraries fixed the issue for me.

0
source

All Articles