![](/img/trans.png)
[英]Can't compile android app with ActionBarSherlock as apklib in maven
[英]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.