繁体   English   中英

无法从Maven添加ActionBarSherlock地图插件

[英]Can't add ActionBarSherlock maps plugin from Maven

我的Android项目正在使用Maven来控制依赖关系,而我正在尝试使用来自Jake Wharton的ActionBarSherlock maps-plugin。

我已将Jake的Maven存储库添加到我的pom.xml文件中,并尝试使用IntelliJ IDEA更新按钮来更新本地存储库,但它始终返回错误。

你能帮助我吗?

杰克·沃顿(Jake Wharton)的github内容:

    <!-- If you are a Maven user you can easily include the library by specifying it as a dependency: -->

    <dependency>
       <groupId>com.actionbarsherlock</groupId>
       <artifactId>plugin-maps</artifactId>
      <version><!-- LATEST PLUGIN VERSION --></version>
    </dependency>

    <!-- Since the Google Maps APIs are not available in central this plugin is deployed to Jake Wharton's personal repository. You can add it with the following: -->

    <repository>
      <id>com.jakewharton</id>
      <url>http://r.jakewharton.com/maven/release</url>
    </repository>

我已将类代码复制到我的包中,并将以下行添加到我的AndroidManifest.xml中:

    <uses-library android:name="com.google.android.maps" />

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM