View Single Post
  #8 (permalink)  
Old September 25th, 2012, 01:47 PM
sn0wman sn0wman is offline
Registered User
Points: 6, Level: 1
Points: 6, Level: 1 Points: 6, Level: 1 Points: 6, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Start program from the Java activity?

Quote:
Originally Posted by A725859 View Post
Since the release of the book eclipse version changed a lot
i can't even run the hello world program when i create a new project i asks me all the details i do it as it is
In the res/layout The .xml file has <RelativeLayout> Instead of <LinearLayout>
So The Code Given Generates Error Saying That "xml Document is not formatted correctly"
Kindly SOLVE My Problem
I think I ran across a similar issue playing with the Android Developer's site tutorial when trying to 'Run As' from the layout XML file; I think it had to do with an Eclipse bug? Instead of running from the layout file, try clicking on HelloWorldActivity.java file (you should find it beneath "src" in Package Explorer) and then click 'Run As'. The author does something similar by running the application from the project name (see step #11 on page 25 of Chapter 1 (hard copy of book)).
Reply With Quote