Problems Using ActionBarSherlock in Project

白昼怎懂夜的黑 提交于 2020-03-12 05:33:11

问题


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.



来源:https://stackoverflow.com/questions/10626966/problems-using-actionbarsherlock-in-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!