在notepadv1教程XML解析错误 [英] xml parser error in notepadv1 tutorial

查看:540
本文介绍了在notepadv1教程XML解析错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我工作的notpadv1教程。我只要我创建note_row.xml打了个电话,把在以下code一个新的XML文件得到解析器的错误:
误差是在文件的结尾。它说:在这行找到多个注解
文件premature结束
错误解析XML:没有的元素中找到

I am working on the notpadv1 tutorial. I get an error from the parser as soon as I create a new xml file called note_row.xml and put in the following code: The error is at the end of the file. It says: multiple annotations found at this line premature end of file error parsing XML:no element found

我也看到在控制台以下错误:
[2010-07-04 5时34分32秒 - Notepadv1]错误在一个XML文件:中止建设

I also see the following error in the console: [2010-07-04 05:34:32 - Notepadv1] Error in an XML file: aborting build.

我下面在以下网址的第5步中的说明:
http://developer.android.com/resources/tutorials/notepad/notepad -ex1.html

I am following the instructions in step 5 of the following url: http://developer.android.com/resources/tutorials/notepad/notepad-ex1.html

推荐答案

这是一个奇怪的错误,尚未能找到rootCause复制。但每当发生这种情况,

This is a weird error, yet not able to find the rootCause. But whenever this happens,

我将文件从我的XML code,将其保存;
然后粘贴整个code回文件,然后再次保存。错误消失。
我甚至不认为这是一个解决方案。但它的作品。

I cut my xml code from file, save it; Then paste whole code back in file, and save it again. Error goes away. I don't even consider this a solution. But it works.

一个链接这个线程可能会有帮助。

A link to THIS THREAD may help.

这篇关于在notepadv1教程XML解析错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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