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.
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.
Has anybody gotten the plugins to build and install correctly in their existing Eclipse setup? If so, am I missing something?
Thanks.
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:
If I click "New -> New Android Project" I notice this error appears in the error log:
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
Look at the errors, they provide information about the tools you are missing. After I've gone through the motodev tutorial, I had to install Web Service Tools, Database Tools (DTP) and Memory Analizer Tool (MAT). Also, Leoa is right, for people using windows, stick with win32, even if your windows is x64.
After two days I got MOTODEV Core Plugin to work in Eclipse. In general follow these directions http://developer.motorola.com/tools/motodevcoreplugins/
I got it here: http://download.eclipse.org/eclipse/downloads/eclipse3x.html
ADT https://dl-ssl.google.com/android/eclipse/
http://download.eclipse.org/sequoyah/updates/2.0/
4.When installing MOTODEV, Remove MOTODEV packages you don't need like linus, macos and com.motorola.studio.android.wind32.x86_64
At this point, there should be no errors in your project.
Now to run MOTODEV, select package com.motorola.studio.android and run as 'Eclipse Application'
Next a window will open that has the MOTODEV menu in the main window.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With