Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
720 views
in Technique[技术] by (71.8m points)

android - Problems Using ActionBarSherlock in Project

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:

enter image description here

enter image description here

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...