Motodev核心插件

den*_*rew 5 eclipse android motodev-studio

随着Motodev核心插件被公布在AOSP工具(http://developer.motorola.com/tools/motodevcoreplugins/)中,我一直试图让他们在Eclipse中正常工作.

我按照下载和安装所有内容的说明进行操作.但是,一旦插件的项目完全导入到我的新工作区,其中一些显示构建错误.我已经尝试清理项目等,但它们仍然显示构建错误.

我决定继续尝试按照说明安装插件.一旦安装了插件并完成了说明,我就会在菜单栏中看到MOTODEV选项.但是,一旦我点击任何选项(即MOTODEV> New> New Android Project),就没有任何反应.对于MOTODEV菜单中的每个选项,这都是相同的.

有没有人在现有的Eclipse设置中获得正确构建和安装的插件?如果是这样,我错过了什么吗?

谢谢.

更新:我还发现按照说明安装这些插件会破坏Eclipse中工具栏中的"运行"按钮.它现在对我没有任何作用.我必须右键单击该项目并从上下文菜单中执行Run As.显然不是一个大问题......但仍然是一个烦恼.另外,我在OSX设置中注意到了这一点:

如果我单击"新建 - >新建Android项目",我会注意到错误日志中出现此错误:

错误Tue Oct 02 11:50:32 CDT 2012未处理的事件循环异常org.eclipse.e4.core.di.InjectionException:org.eclipse.core.commands.NotHandledException:没有为命令com.motorola.studio执行的处理程序位于org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:63)的.android.new.project: 229)org.eclipse上的org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:210)org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:131)位于org.eclipse.e4的org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:814)的.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:171) org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.a上的.ui.workbench.renderers.swt.HandledContributionItem.handleWidgetSelection(HandledContributionItem.java:707)在org.eclipse.swt.wtit.EventTable.sendEvent(EventTable)的org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem $ 4.handleEvent(HandledContributionItem.java:630)中获得$ 7(HandledContributionItem.java:691). java:84)at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)... 37更多

Leo*_*eoa 5

两天后,我让MOTODEV Core Plugin在Eclipse中工作.一般按照这些指示http://developer.motorola.com/tools/motodevcoreplugins/

  1. 您需要100%全新安装Java EE.如果您使用32位版本的Windows棒.我安装了Juno Java EE.此安装包括MOTODEV工作所必需的软件包.

我在这里得到它:http: //download.eclipse.org/eclipse/downloads/eclipse3x.html

  1. 接下来安装ADT

ADT https://dl-ssl.google.com/android/eclipse/

  1. 从Eclipse下载页面安装Sequoyah,(不是MOTODEV网站上的内容)

http://download.eclipse.org/sequoyah/updates/2.0/

4.安装MOTODEV时,删除不需要的MOTODEV软件包,如linus,macos和com.motorola.studio.android.wind32.x86_64

  1. 再次安装Sequoyah,这次来自MOTODEV的规格Sequoyah http://download.eclipse.org/sequoyah/updates/2.1/2.1.1.N20120718-0509

此时,项目中应该没有错误.

现在运行MOTODEV,选择包com.motorola.studio.android并运行为'Eclipse Application'

接下来将打开一个窗口,其中包含主窗口中的MOTODEV菜单.

在此输入图像描述