随着Motodev核心插件被包含在AOSP工具(http://developer.motorola.com/tools/motodevcoreplugins/)中的宣布中,我一直试图让它们在Eclipse中正常工作,但一直未能成功。Motodev核心插件
我按照说明下载和安装了所有东西。但是,一旦插件项目完全导入到我的新工作区中,其中一些会显示构建错误。我已经尝试清理项目等,但他们仍然显示构建错误。
我决定继续尝试按照指示安装插件。一旦安装了插件并完成了说明,我会在菜单栏中看到MOTODEV选项。但是,一旦我点击任何选项(即MOTODEV> New> New Android Project),就没有任何反应。这对于MOTODEV菜单中的每个选项都是相同的。
有没有人获得插件来正确构建和安装在他们现有的Eclipse设置中?如果是这样,我错过了什么?
谢谢。
更新:我也发现,按照说明安装这些插件打破了Eclipse中工具栏中的“运行”按钮。它现在根本不会为我做任何事情。我必须右键单击该项目,然后从上下文菜单中执行“运行方式”。显然不是一个大问题......但仍然是一个烦恼。另外,我注意到了这一点上我的OSX的设置:
如果我点击“新建 - >新的Android项目”我注意到在错误日志中会出现这样的错误:
错误周二10月2日十一时50分32秒CDT 2012未处理的事件循环异常 org.eclipse.e4.core.di.InjectionException:org.eclipse.core.commands.NotHandledException:在org.eclipse中没有对命令com.motorola.studio.android.new.project执行的处理程序.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:63)at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:229)at org.eclipse.e4.core .internal.di.InjectorImpl.invoke(InjectorImpl.java:210)at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:131)at org.eclipse .e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:171)at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:814)at org.eclipse.e4 。org.eclipse.ui.workbench.renderers.swt.HandledContributionItem.handleWidgetSelection(HandledContributionItem.java:707)at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.access $ 7(HandledContributionItem.java:691)。 e4.ui.workbench.renderers.swt.HandledContributionItem $ 4.handleEvent(HandledContributionItem.java:630)at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)at org.eclipse.e4.core.internal .di.MethodRequestor.execute(MethodRequestor.java:56)... 37更多
我发现此帖:http://community.developer.motorola.com/t5/MOTODEV-Studio-for-Android-Blog/MOTODEV-Studio-4-0-and-the-ADT-20-plugins/ BA-p/27710。它建议不要使用MotoDev Studio 4与旧版本的Android – Leoa
我明白了。但我现在试图使用的是“Motodev核心插件”。我不确定这是否仍然适用,因为我正在使用最新的ADT插件。 – dennisdrew
MOTODEV studio 4是Motodev核心插件 – Leoa