我剛開始一個新的Android項目,HELLOWORD」繼續學習Android開發,我得到難倒編譯默認的‘HELLOWORD’編譯/運行,我想我錯過了配置的步驟並設置,但我不知道在哪裏我有一個配置,設置和啓動AVDAndroid SDK中main.out.xml解析錯誤
當我按'運行',我找不到android2.1 simulator.and找到這些錯誤:
[2012-07-25 08:59:49 - helloword] res\layout\activity_main.xml:0: error: Resource entry activity_main is already defined.
[2012-07-25 08:59:49 - helloword] res\layout\activity_main.out.xml:0: Originally defined here.
[2012-07-25 08:59:49 - helloword] E:\android軟件開發\新建文件夾\helloword\res\layout\activity_main.out.xml:1: error: Error parsing XML: no element found
[2012-07-25 10:03:12 - helloword] /helloword/gen already exists but is not a source folder. Convert to a source folder or rename it.
[2012-07-25 10:03:13 - helloword] /helloword/gen already exists but is not a source folder. Convert to a source folder or rename it.
[2012-07-25 10:03:15 - helloword] File is Out of sync
[2012-07-25 10:05:13 - helloword] /helloword/gen already exists but is not a source folder. Convert to a source folder or rename it.
[2012-07-25 10:08:44 - helloword] activity_main.out.xml is out of sync. Please refresh.
[2012-07-25 10:08:45 - helloword] activity_main.out.xml is out of sync. Please refresh.
你有沒有在窗口 - >首選項的Android項目?你嘗試啓動運行(Ctrl + F11從Java文件,而不是XML)?並且,移除activity_main.out.xml文件 - 這是錯誤的,通常在嘗試從xml文件啓動運行時生成。 – sandrstar 2012-07-25 02:49:07
閱讀本http://code.google.com/p/android/issues/detail?id=3767 – 2012-07-25 03:09:03