Android布局编辑器错误

时间:2012-07-09 11:04:21

标签: java android android-layout

当我尝试查看XML的图形布局时,我遇到了错误。 我在错误日志中遇到以下错误。

  

java.lang.NoSuchFieldError:ROOT at   android.util.LocaleUtil.getLayoutDirectionFromLocale(LocaleUtil.java:60)   在   android.content.res.Configuration.updateFrom(Configuration.java:507)   在   android.content.res.Resources.updateConfiguration(Resources.java:1450)   在   android.content.res.Resources.updateConfiguration(Resources.java:1408)   在android.content.res.Resources。(Resources.java:205)at   android.content.res.Resources。(Resources.java:185)at   android.content.res.BridgeResources。(BridgeResources.java:118)   在   android.content.res.BridgeResources.initSystem(BridgeResources.java:97)   在   com.android.layoutlib.bridge.android.BridgeContext.initResources(BridgeContext.java:155)   在   com.android.layoutlib.bridge.impl.RenderAction.setUp(RenderAction.java:227)   在   com.android.layoutlib.bridge.impl.RenderAction.init(RenderAction.java:121)   在   com.android.layoutlib.bridge.impl.RenderSessionImpl.init(RenderSessionImpl.java:165)   在com.android.layoutlib.bridge.Bridge.createSession(Bridge.java:320)   在   com.android.ide.common.rendering.LayoutLibrary.createSession(LayoutLibrary.java:325)   在   com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderService.createRenderSession(RenderService.java:372)   在   com.android.ide.eclipse.adt.internal.editors.layout.gle2.GraphicalEditorPart.renderWithBridge(GraphicalEditorPart.java:1317)   在   com.android.ide.eclipse.adt.internal.editors.layout.gle2.GraphicalEditorPart.recomputeLayout(GraphicalEditorPart.java:1071)   在   com.android.ide.eclipse.adt.internal.editors.layout.gle2.GraphicalEditorPart.activated(GraphicalEditorPart.java:897)   在   com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditor.pageChange(LayoutEditor.java:384)   在   org.eclipse.ui.part.MultiPageEditorPart $ 2.widgetSelected(MultiPageEditorPart.java:291)   在   org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)   在org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)at   org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)at   org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)at   org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)at   org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:770)at at   org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3256)   在org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2045)at   org.eclipse.swt.custom.CTabFolder $ 1.handleEvent(CTabFolder.java:323)   在org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)at   org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)at   org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)   在org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)   在org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)   在org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)at   org.eclipse.ui.internal.Workbench.access $ 4(Workbench.java:2221)at   org.eclipse.ui.internal.Workbench $ 5.run(Workbench.java:500)

我已附加屏幕截图。我试图搜索此问题的解决方案。 据说更新java.I的一些地方也更新了Java。

enter image description here 提前谢谢。

0 个答案:

没有答案