当我日食时,我在日志上收到一大堆关于缺少“Bundle文件URL”的错误消息。据我所知,没有任何东西明显被破坏,但每次打开Android项目时,日志中的数十条错误消息似乎都表明存在问题。
当我打开布局XML文件时,似乎会触发消息。
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 19:52:17.600
!MESSAGE Bundle file URL not found at path '/gscripts/IViewRule.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 19:52:17.618
!MESSAGE Bundle file URL not found at path '/gscripts/String.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 19:52:17.624
!MESSAGE Bundle file URL not found at path '/gscripts/Map.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 19:52:17.639
!MESSAGE Bundle file URL not found at path '/gscripts/INode.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 19:52:17.642
!MESSAGE Bundle file URL not found at path '/gscripts/MenuAction.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 19:52:17.645
!MESSAGE Bundle file URL not found at path '/gscripts/List.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 19:52:17.659
!MESSAGE Bundle file URL not found at path '/gscripts/IMenuCallback.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 19:52:17.662
!MESSAGE Bundle file URL not found at path '/gscripts/MenuAction.Action.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 19:52:17.679
!MESSAGE Bundle file URL not found at path '/gscripts/Boolean.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 19:52:17.682
!MESSAGE Bundle file URL not found at path '/gscripts/INodeHandler.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 19:52:17.686
!MESSAGE Bundle file URL not found at path '/gscripts/Set.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 19:52:17.702
!MESSAGE Bundle file URL not found at path '/gscripts/MenuAction.Choices.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 19:52:17.719
!MESSAGE Bundle file URL not found at path '/gscripts/MenuAction.Group.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 19:52:17.725
!MESSAGE Bundle file URL not found at path '/gscripts/IAttributeInfo.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 19:52:17.746
!MESSAGE Bundle file URL not found at path '/gscripts/IGraphics.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 19:52:17.760
!MESSAGE Bundle file URL not found at path '/gscripts/Rect.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 19:52:17.762
!MESSAGE Bundle file URL not found at path '/gscripts/DrawingStyle.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 19:52:17.767
!MESSAGE Bundle file URL not found at path '/gscripts/IDragElement.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 19:52:17.780
!MESSAGE Bundle file URL not found at path '/gscripts/DropFeedback.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 19:52:17.784
!MESSAGE Bundle file URL not found at path '/gscripts/Point.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 19:52:17.814
!MESSAGE Bundle file URL not found at path '/gscripts/_rules_engine.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 19:52:18.083
!MESSAGE Bundle file URL not found at path '/gscripts/ANDROID_URI.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 19:52:18.101
!MESSAGE Bundle file URL not found at path '/gscripts/ATTR_ID.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 19:52:18.125
!MESSAGE Bundle file URL not found at path '/gscripts/Closure.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 19:52:18.143
!MESSAGE Bundle file URL not found at path '/gscripts/ATTR_TEXT.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 19:52:18.565
!MESSAGE Bundle file URL not found at path '/gscripts/AndroidViewViewRuleBeanInfo.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 19:52:18.567
!MESSAGE Bundle file URL not found at path '/gscripts/BaseViewBeanInfo.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 20:39:45.518
!MESSAGE Bundle file URL not found at path '/gscripts/INode.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 20:39:45.520
!MESSAGE Bundle file URL not found at path '/gscripts/IDragElement.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 20:39:45.522
!MESSAGE Bundle file URL not found at path '/gscripts/DropFeedback.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 20:39:45.562
!MESSAGE Bundle file URL not found at path '/gscripts/AndroidWidgetTimePickerRuleBeanInfo.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 20:39:45.564
!MESSAGE Bundle file URL not found at path '/gscripts/IgnoredLayoutRuleBeanInfo.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 20:39:45.566
!MESSAGE Bundle file URL not found at path '/gscripts/BaseLayoutBeanInfo.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 20:39:45.830
!MESSAGE Bundle file URL not found at path '/gscripts/String.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 20:39:45.833
!MESSAGE Bundle file URL not found at path '/gscripts/INode.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 20:39:45.835
!MESSAGE Bundle file URL not found at path '/gscripts/MenuAction.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 20:39:45.837
!MESSAGE Bundle file URL not found at path '/gscripts/List.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 20:39:45.840
!MESSAGE Bundle file URL not found at path '/gscripts/ANDROID_URI.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 20:39:45.854
!MESSAGE Bundle file URL not found at path '/gscripts/IMenuCallback.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 20:39:45.856
!MESSAGE Bundle file URL not found at path '/gscripts/MenuAction.Action.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 20:39:45.860
!MESSAGE Bundle file URL not found at path '/gscripts/Boolean.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 20:39:45.863
!MESSAGE Bundle file URL not found at path '/gscripts/INodeHandler.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 20:39:45.866
!MESSAGE Bundle file URL not found at path '/gscripts/MenuAction.Choices.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 20:39:45.871
!MESSAGE Bundle file URL not found at path '/gscripts/IDragElement.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 20:39:45.873
!MESSAGE Bundle file URL not found at path '/gscripts/DropFeedback.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 20:39:45.877
!MESSAGE Bundle file URL not found at path '/gscripts/IFeedbackPainter.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 20:39:45.880
!MESSAGE Bundle file URL not found at path '/gscripts/IGraphics.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 20:39:45.882
!MESSAGE Bundle file URL not found at path '/gscripts/Rect.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 20:39:45.884
!MESSAGE Bundle file URL not found at path '/gscripts/DrawingStyle.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 20:39:45.892
!MESSAGE Bundle file URL not found at path '/gscripts/Point.groovy'
! ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 20:39:45.894
!MESSAGE Bundle file URL not found at path '/gscripts/Integer.groovy'
!ENTRY com.android.ide.eclipse.adt 1 0 2010-12-24 20:39:46.023
!MESSAGE Bundle file URL not found at path '/gscripts/AndroidWidgetLinearLayoutRuleBeanInfo.groovy'
答案 0 :(得分:2)
转到Project -> Clean
,然后清理项目。
根据我的经验,Eclipse ocassionaly的Android插件有虚假警告,这种方法可以消除它们。
答案 1 :(得分:2)
您可以安全地忽略这些消息。他们正在记录搜索当前选择的适用规则文件 - 这些搜索消息不应该出现在错误日志中。在最新版本中(尚未完成,但你可以在tools.android.com上获得预览快照)它们已经完全消失了(搜索算法已经彻底改变了;我们不再依赖groovy脚本了。 )
(我在ADT工作)
答案 2 :(得分:0)
我最近发生了这件事。 UI编辑器正在尝试实例化一个控件,该控件在其构造函数中的某处抛出异常。
如果此xml布局是您创建的自定义控件,请尝试通过注释掉一些行来调试它,直到找到罪魁祸首。在我的情况下,我试图在自定义控件的构造函数中加载共享首选项,该控件仅在设计器中抛出异常。我添加了一个试图抓住它来解决它。
希望有所帮助。