Hello guys,
I just started Android dev and already running into some weird issue. I used Draw Android to build my layout and it worked fine. I did some change to the main.xml and now I am getting the error message below. I tried to do it again (using the Draw Android and past the xml code into main.xml and still get the same error? There is a file called main.out.xml which seems to be empty. I am not sure of its role. I am assuming I did something wrong but here the main.xml code and the error message.
I will love some pointers to check. I am really puzzled since I do not see anything wrong with my xml code?? For instance I do not understand the error seen below: ERROR Resource entry main is already defined.
I only have one main.xml
Thanks guys.
Mo.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
android:id="@+id/widget89"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
xmlns:android="http://schemas.android.com/apk/res/android"
>
<TextView
android:id="@+id/myText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="TextView"
>
</TextView>
<Button
android:id="@+id/myButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Button"
>
</Button>
</LinearLayout>
'//---------------------------------------------------------------- error log on the Console -------------------------------
[2009-08-12 00:07:30 - NumentaVision] Error in an XML file: aborting build.
[2009-08-12 00:07:30 - NumentaVision] res\layout\main.xml:0: ERROR Resource entry main is already defined.
[2009-08-12 00:07:30 - NumentaVision] res\layout\main.out.xml:0: Originally defined here.
[2009-08-12 00:07:30 - NumentaVision] C:\Documents and Settings\Mo\workspace2\NumentaVision\res\layout\main.out.xml:1: ERROR Error parsing XML: no element found



any idea?