且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

ActionBarSherlock Maven依赖项

更新时间:2022-06-12 22:20:10

ActionBarSherlock是一个库项目,这意味着您需要添加一个< type> apklib< / type> 到Maven依赖声明。

ActionBarSherlock is a library project which means you need to add a <type>apklib</type> to the Maven dependency declaration.

<dependency>
  <groupId>com.actionbarsherlock</groupId>
  <artifactId>actionbarsherlock</artifactId>
  <version>4.2.0</version>
  <type>apklib</type>
</dependency>

(请注意,我还更改了 artifactId 到'actionbarsherlock')

(Note that I've also changed the artifactId to 'actionbarsherlock')

为此,您需要拥有 android-maven- < extensions> true< / extensions> 引用的插件。看来您已从粘贴的 pom.xml 完成此要求。

In order to do this, you need to have the android-maven-plugin referenced with <extensions>true</extensions>. It looks you have this requirement completed already from your pasted pom.xml.