android no element,no element found解决办法(Android)
[2010-09-29 11:02:37 - UIandroid] res/layout/main.out.xml:0: Originally defined here.[2010-09-29 11:02:37 - UIandroid] E:/android/UIandroid/res/layout/main.out.xml:1: error: Error parsing XML: no elem
[2010-09-29 11:02:37 - UIandroid] res/layout/main.out.xml:0: Originally defined here.
[2010-09-29 11:02:37 - UIandroid] E:/android/UIandroid/res/layout/main.out.xml:1: error: Error parsing XML: no element found
[2010-09-29 11:02:41 - UIandroid] res/layout/main.xml:0: error: Resource entry main is already defined.
[2010-09-29 11:02:41 - UIandroid] res/layout/main.out.xml:0: Originally defined here.
[2010-09-29 11:02:41 - UIandroid] E:/android/UIandroid/res/layout/main.out.xml:1: error: Error parsing XML: no element found
[2010-09-29 11:03:20 - UIandroid] Error in an XML file: aborting build.
[2010-09-29 11:19:14 - UIandroid] Error in an XML file: aborting build.
郁闷了,网上找了很久,有说是直接运行了res/main.xml之后的结果,我按他们所说的,删除了main.out.xml再次运行还是不行,没办法只好去网上拼命的找,
终于找到了:
[解決方式]
1) 把 main.xml.out 刪除
2) Eclipse/ Project/ Clean
关键是第2步,需要清楚焦点!!!!
更多推荐










所有评论(0)