MOTODEV核心插件 [英] Motodev Core Plugins

查看:169
本文介绍了MOTODEV核心插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

随着MOTODEV核心插件的公告被包括在AOSP工具(的http://开发商。 motorola.com/tool​​s/motodevcoreplugins/ ),我一直在努力失败让他们在Eclipse中正常工作。

With the announcement of the Motodev core plugins being included in the AOSP tools (http://developer.motorola.com/tools/motodevcoreplugins/), I have been trying unsuccessfully to get them to work properly in Eclipse.

我按照下载和安装所有的说明。然而,一旦对插件的项目完全导入到我的新工作区,其中的一些显示生成错误。我试图清理项目等,但他们仍然显示生成错误。

I have followed the instructions on downloading and installing everything. However, once the projects for the plugins are completely imported into my new workspace, a few of them show build errors. I have tried cleaning the projects, etc. but they still show build errors.

我决定继续前进,并尝试根据指示来安装插件。一旦插件被安装,我完成了指示,我看到了MOTODEV选项在菜单栏。但是,一旦我去点击任何一个选项(即MOTODEV>新建>新建Android项目),没有任何反应。这是相同的,在MOTODEV菜单每个选项。

I decided to go ahead and try to install the plugins according to the directions. Once the plugins were installed and I completed the instructions, I see the MOTODEV option up in the menu bar. However, once I go to click on any of the options (i.e. MOTODEV > New > New Android Project), nothing happens. This is the same for every option in the MOTODEV menu.

有没有人得到的插件,来构建,并在其现有的Eclipse安装程序安装是否正确?如果是这样,我失去了一些东西?

Has anybody gotten the plugins to build and install correctly in their existing Eclipse setup? If so, am I missing something?

感谢。

更新:我还发现,每安装说明这些插件打破了工具栏在Eclipse中的运行按钮。它只是现在不为我做任何事情。我必须右键单击该项目,做好运行方式从上下文菜单中。显然不是一个巨大的问题......但仍然是一个烦恼。另外,我发现这对我的OSX的设置:

UPDATE: I have also discovered that installing these plugins per the instructions breaks the "Run" button in the toolbar in Eclipse. It simply doesn't do anything for me now. I have to right click the project and do Run As from the context menu. Obviously not a huge issue...but still an annoyance. Also, I noticed this on my OSX setup:

如果我点击新建 - >新的Andr​​oid项目我注意到出现在错误日志中此错误:

If I click "New -> New Android Project" I notice this error appears in the error log:

错误星期二10月2日十一时50分32秒CDT 2012未处理的事件循环异常 org.eclipse.e4.core.di.InjectionException:org.eclipse.core.commands.NotHandledException:有没有处理的org.eclipse.e4.core的命令com.motorola.studio.android.new.project执行。 internal.di.MethodRequestor.execute(MethodRequestor.java:63)在org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:229)在org.eclipse.e4.core.internal.di。 InjectorImpl.invoke(InjectorImpl.java:210)在org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:131)在org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl。 java的:171)在org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:814)在org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.handleWidgetSelection(HandledContributionItem.java:707)在org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.access$7(HandledContributionItem.java:691)在org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem$4.handleEvent(HandledContributionItem.java:630)在org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)在org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)... 37多个

Error Tue Oct 02 11:50:32 CDT 2012 Unhandled event loop exception org.eclipse.e4.core.di.InjectionException: org.eclipse.core.commands.NotHandledException: There is no handler to execute for command com.motorola.studio.android.new.project at org.eclipse.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.ui.workbench.renderers.swt.HandledContributionItem.handleWidgetSelection(HandledContributionItem.java:707) at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.access$7(HandledContributionItem.java:691) at org.eclipse.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 more

推荐答案

两天后,我得到了MOTODEV核心插件在Eclipse中工作。 一般按​​照下列指示<一个href="http://developer.motorola.com/tools/motodevcoreplugins/">http://developer.motorola.com/tools/motodevcoreplugins/

After two days I got MOTODEV Core Plugin to work in Eclipse. In general follow these directions http://developer.motorola.com/tools/motodevcoreplugins/

  1. 您需要的Java EE的100%全新安装。如果你在Windows上坚持使用32位版本。我安装了朱诺的Java EE。这种安装包括包所必需的MOTODEV工作。

我在这里: <一href="http://download.eclipse.org/eclipse/downloads/eclipse3x.html">http://download.eclipse.org/eclipse/downloads/eclipse3x.html

  1. 下一步安装ADT

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

  1. 从Eclipse的下载页面安装塞阔亚,(没有什么是对MOTODEV的网站)

<一个href="http://download.eclipse.org/sequoyah/updates/2.0/">http://download.eclipse.org/sequoyah/updates/2.0/

4。当安装MOTODEV, 删除MOTODEV包你不需要像莱纳斯,MacOS和com.motorola.studio.android.wind32.x86_64

4.When installing MOTODEV, Remove MOTODEV packages you don't need like linus, macos and com.motorola.studio.android.wind32.x86_64

  1. 在重新安装塞阔亚,此时距离MOTODEV的specifcations 塞阔亚<一href="http://download.eclipse.org/sequoyah/updates/2.1/2.1.1.N20120718-0509">http://download.eclipse.org/sequoyah/updates/2.1/2.1.1.N20120718-0509
  1. install Sequoyah again, this time from MOTODEV's specifcations Sequoyah http://download.eclipse.org/sequoyah/updates/2.1/2.1.1.N20120718-0509

在这一点上,应该有你的项目没有错误。

At this point, there should be no errors in your project.

现在运行MOTODEV, 选择包com.motorola.studio.android和运行为Eclipse的应用程序

Now to run MOTODEV, select package com.motorola.studio.android and run as 'Eclipse Application'

接着将打开一个窗口,有在主窗口中的MOTODEV菜单。

Next a window will open that has the MOTODEV menu in the main window.

这篇关于MOTODEV核心插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆