Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 739919
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T08:27:20+00:00 2026-05-14T08:27:20+00:00

I have just started with Android with the usual Hello World project template in

  • 0

I have just started with Android with the usual Hello World project template in Eclipse. I modified the layout XML and removed the label that says “Hello World, !”, and added a couple of other controls. However, these are not reflected in the app, within the emulator. When I run this app from Eclipse again it is still showing the Hello World label!

I’m sure it’s something terribly simple that I have completely missed. Can someone please point me in the right direction?

Many thanks,
Dany.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T08:27:21+00:00Added an answer on May 14, 2026 at 8:27 am

    Try the following fixes in roughly the order I’m prescribing.

    • Make sure you saved the layout. If it wasn’t saved, that would certainly do it.

    • Take a look at the xml itself, click on the small xml tab placed at the bottom of your layout. If you want to make the xml more easily readable, press Ctrl-Shift f if you’re on windows. Does it look like what you’d expect?

    • For the controls, start by placing a linear layout, and make sure that the controls are placed within the linear layout. To make sure the controls are properly nested, use the Outline View, or better yet, just edit the xml file itself.

    • Clean your code (this deletes the generated files and rebuilds the project). In Eclipse, it’s under the Project > Clean… (I think)

    • Make sure all the other projects are closed so that they do not interfere with the current project you might be working on. For all I know, you might be compiling the wrong one.

    • When you say you removed the label, did you click inside the textlabel and just change the wording? If so, that only changed the id/name of the label not the string inside the label. To change the string inside the textlabel, use the Properties View to do that.

    • To make sure you’re looking at the right instance of the emulator. Close your emulator before running the project again (this is not normally advised for speed reasons, but in this case, I just want to check that the new emulator is even launching correctly). And by the way, when you say emulator, I hope that you’re not confusing it with the what-you-see-is-what-you-get editor.

    • If that still doesn’t work, go to the gen folder (generated files). Open the R.java file. Click inside, add a line return. And rebuild your project. I know this one sounds like a weird fix, but this fix does work from time to time.

    • Also, take a look at the Problems View, does it list a problem? And look at the Console when you’re rerunning the code. What does the Console say?

    Hope this helped. If this still doesn’t work, I can always suggest more ways to debug your app.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.