ADT安裝maven插件

ADT安裝maven插件

從官網上下載了ADT。因爲習慣使用maven管理依賴和查看下載代碼,所以期望在ADT中增加插件。

方法一

在eclipse中,Help --> Install New Software,然後輸入 HTTP 地址來安裝。或者進入 eclipse market

http 地址:http://m2eclipse.sonatype.org/sites/m2e

我如此操作,報錯

方法二

http://115.com/file/dpk80gj0#eclipse-maven3-plugin.7z 
or 
http://pan.baidu.com/s/1o6G47Aa

下載eclipse-maven3-plugin.7z 解壓縮,放在Eclipse\dropins下,重啓。

成功

Android整合Maven

Android整合Maven筆記(一)——在Android項目上啓用maven: 
http://blog.csdn.net/jason20ming/article/details/7031734

使用Maven構建Android項目: 
http://www.ikoding.com/build-android-project-with-maven/

直接用maven生成代碼

mvn archetype:generate \

-DarchetypeArtifactId=android-quickstart \ 

-DarchetypeGroupId=de.akquinet.android.archetypes \ 

-DarchetypeVersion=1.0.5 \ 

-DgroupId=your.company \ 

-DartifactId=my-android-application 
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章