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

  • Home
  • SEARCH
  • 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 4082248
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T18:09:51+00:00 2026-05-20T18:09:51+00:00

Sometimes when I am working on a projects layout in Eclipse I hit the

  • 0

Sometimes when I am working on a projects layout in Eclipse I hit the run button while the active thing on the screen is still the layout.xml file. This causes eclipse to try to run just the xml file instead of the actual android project. I know that when I do this I can fix it by just deleting the xml.out file that gets created and clean/build on my project. However I remember using Eclipse at some point in the past when it didn’t do this, if I hit run while working with an xml it still ran the Android project, just as if I had clicked run while editing a java file. My question is does anyone know if there is some sort of setting I can modify that will change the behavior back to that so that I don’t have to switch back and forth to a java file just to run while I am actually doing work on the layout.

Edit: That works but now I can’t launch any other applications that I am working on without resetting that preference. Is there perhaps a way to make it treat xml files as though they are ‘not launchable’ so that it will go down to option that I select for what to do if active resource is not launchable? Because the “Launch the associated project” option thats under that seems like exactly what I want it to do when I try to launch an xml file.

  • 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-20T18:09:51+00:00Added an answer on May 20, 2026 at 6:09 pm

    Under Preferences -> Run/Debug -> Launching, you can select “Always launch the previously launched application”, so run the proper file once with this option marked and it will keep running the proper file for the rest of your life 🙂

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

Sidebar

Related Questions

While working with ssh I sometimes write to long string/commands eg. command -param 3
While working with NSDate, sometimes the time zones are different. But I don't mess
When working with ActiveMQ in Eclipse, you might sometimes get a schema parsing error
While working on projects, I often come to the dilemma of working on UI
Sometimes when working on projects that people have posted online, I have to frantically
I don't want a fancy bug tracking suite. Sometimes I am working on projects/tools
Sometimes when I'm working with my android projects, and hook up my phone, the
Sometimes I'm working with several branches at once. Say I have branches called master,
Sometimes I do despair when working with ASP.Net - another problem that shouldn't be!
am working on a java(tomcat) app. that sometimes writes to stdout. But I notice

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.