Problems Using ActionBarSherlock in Project

2020-02-15 06:43发布

问题:

For some reason, I can't get ActionBarSherlock to work. I think I have it set up correctly, but it doesn't show up in intellisense when I try to import it or use it. Is there anything else I need to do, other than include it as a module??

Images:

回答1:

You need to ensure that the dependencies are set properly, main application module needs to depend on the library module and there must be no duplicate dependencies on jars.

I've prepared a sample project using the demo provided for this library. Unzip, open samples/demos in IntelliJ IDEA, ensure you have Android Platform 4.0 defined, build.