随着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更多
在应用程序小部件的上下文中,Google 对用户“积极使用”应用程序的定义是什么?如果一个应用程序很长一段时间没有打开,但主屏幕上有一个小部件,有人知道Android是否会将该应用程序置于待机模式吗?从文档来看,应用程序小部件似乎适合以下描述:“应用程序当前有一个位于前台的进程(作为活动或前台服务,或者由另一个活动或前台服务使用)。” 但我不太确定。
想法?
https://developer.android.com/preview/features/power-mgmt.html