在项目使用ActionBarSherlock问题项目、问题、ActionBarSherlock

2023-09-14 00:04:03 作者:八个字最新版

由于某些原因,我不能让ActionBarSherlock工作。我想我有它设置正确,但它不显示在IntelliSense中,当我尝试导入或使用它。还有什么我需要做的,除了把它作为一个模块??

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??

图片:

推荐答案

您需要确保的依赖设置是否正确,主要应用模块需要依赖于库模块,并必须有在罐子没有重复的依赖关系。

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.

我已经 prepared 的使用提供了这个库中的演示示例项目。解压缩,打开样品/演示在IntelliJ IDEA的,确保您定义的Andr​​oid 4.0平台,打造。

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.