天天看点

eclipse4.3安装m2e-android出错

尚未解决,尝试过3.7,3.8,4.3安装android-m2e都失败,从marketplace或者直接install new  software都失败 

安装地址:

http://rgladwell.github.com/m2e-android/updates/

错误:

Cannot complete the install because one or more required items could not be found.
  Software being installed: Android for Maven Eclipse 1.0.1 (me.gladwell.eclipse.m2e.android.feature.feature.group 1.0.1)
  Missing requirement: Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.core 1.4.0.20130601-0317) requires 'bundle org.slf4j.api 1.6.2' but it could not be found
  Missing requirement: Maven Integration for Eclipse 1.4.1.20140328-1905 (org.eclipse.m2e.core 1.4.1.20140328-1905) requires 'bundle org.slf4j.api 1.6.2' but it could not be found
  Missing requirement: Maven Integration for Eclipse 1.5.0.20140606-0033 (org.eclipse.m2e.core 1.5.0.20140606-0033) requires 'bundle org.slf4j.api 1.6.2' but it could not be found
  Cannot satisfy dependency:
    From: Android for Maven Eclipse 1.0.1 (me.gladwell.eclipse.m2e.android.feature.feature.group 1.0.1)
    To: org.eclipse.m2e.core 1.0.0
           

网上解决方法:

尝试1 : http://www.fuin.org/p2-repository/ 

选择slf-api安装

重启后,不行

尝试2: 安装gef插件

http://download.eclipse.org/tools/gef/updates/interim/

重启后,还是不行

m2eclipse-core插件 ——依赖——>gef插件 

  m2eclipse-extras插件 ——依赖——>subclipse插件

我都不行

万般无奈,只能通过离线安装的方式了

结果师兄说打包方式不对。。。不能理解,反正都是maven,怎么会导出来包不一样,导出的sdk不同?

难道是因为依赖方式不同?

继续阅读