Re: [android-beginners] Hello, Linear Layout - XML Error

2009-12-10 Thread Justin Anderson
I think the error means that you have two main.xml files

--
There are only 10 types of people in the world...
Those who know binary and those who don't.
--


On Tue, Dec 8, 2009 at 6:46 PM, LeeGiT  wrote:

> Hello all,
>
> I am trying to walk through the Linear Layout tutorial on the Android
> website. I followed the instructions and copied the XML code into the
> main.xml file, which Eclipse decided to wiggly underlined but when I
> run it I am getting the follow error...
>
> "[2009-12-08 19:37:47 - Hello Linear Layout]Error in an XML file:
> aborting build.
> [2009-12-08 19:37:48 - Hello Linear Layout]res/layout/main.xml:0:
> error: Resource entry main is already defined"
>
> Also, I'd like to mention that previous to this tutorial, I followed
> the Hello, Android tutorial; which had me create an AVD and create the
> Hello, Android project. So now in the Project Expl, I have two
> projects... Hello Android and Hello Linear Layout. Can I have more
> then one project in this space? If so, then what am I doing wrong
> here? It was straight forward copy and paste, so I have no idea where
> I'm going wrong.
>
> Any help is greatly appreciated!
>
> Thanks,
>
> Lee
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
> To post to this group, send email to android-beginners@googlegroups.com
> To unsubscribe from this group, send email to
> android-beginners+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

[android-beginners] Hello, Linear Layout - XML Error

2009-12-10 Thread LeeGiT
Hello all,

I am trying to walk through the Linear Layout tutorial on the Android
website. I followed the instructions and copied the XML code into the
main.xml file, which Eclipse decided to wiggly underlined but when I
run it I am getting the follow error...

"[2009-12-08 19:37:47 - Hello Linear Layout]Error in an XML file:
aborting build.
[2009-12-08 19:37:48 - Hello Linear Layout]res/layout/main.xml:0:
error: Resource entry main is already defined"

Also, I'd like to mention that previous to this tutorial, I followed
the Hello, Android tutorial; which had me create an AVD and create the
Hello, Android project. So now in the Project Expl, I have two
projects... Hello Android and Hello Linear Layout. Can I have more
then one project in this space? If so, then what am I doing wrong
here? It was straight forward copy and paste, so I have no idea where
I'm going wrong.

Any help is greatly appreciated!

Thanks,

Lee

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en