An obvious suggestion: don't start by trying to write an app. Start by compiling and running a demo application, and progressively modifying it until it does what you want. There are hundreds of these demos in the SDK and on the net illustrating all types of apps.
Keep fixing problems as they appear and you are never more than one undo from working code, and errors like this are easy to find and fix. On Apr 9, 1:29 pm, anik <[email protected]> wrote: > Hi every one, > I just started with my android application but facing problem when i > build the application or when i run my application.Please see if > anyone can fix.Please reply as early as possible..... > > this is what is shown at Console Tab on Eclipse IDE. > [2011-04-08 20:26:03 - Golf2] Error in an XML file: aborting build. > [2011-04-08 20:26:03 - Golf2] res\layout\main.xml:0: error: Resource > entry main is already defined. > [2011-04-08 20:26:03 - Golf2] res\layout\main.out.xml:0: Originally > defined here. > [2011-04-08 20:26:03 - Golf2] C:\anroid apps\Golf2\res\layout > \main.out.xml:1: error: Error parsing XML: no element found -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

