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 6569905
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T14:41:21+00:00 2026-05-25T14:41:21+00:00

When my Android application is already running and I change the code I get

  • 0

When my Android application is already running and I change the code I get the “Hot Code Replace Failed” dialog.

  1. I’m wondering what the correct response is (terminate or disconnect) if I want Eclipse to update my code on the device when I encounter it.

  2. What is the difference between terminate and disconnect?

  3. Also, I’m wondering if I click the “Do not show error when hot code replace is not supported”, what will Eclipse do in the future when this scenario occurs?

"Hot Code Replace Failed" dialog

  • 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-25T14:41:22+00:00Added an answer on May 25, 2026 at 2:41 pm

    Depending on the VM used (Dalvik in this case), some code changes can be made whilst debugging that will ‘hot deploy’ or ‘hot replace’. This means that the code changes will immediately take effect on the emulator and you can test them without the need to re-deploy your app. This sort of hot re-deployment is more commonly used when working with enterprise applications that may take 10 minutes to build and deploy and so wastes a lot of time during development.

    The HotSpot VM (the VM usually used on PCs) allows only simple code replacement and fails if you try to add/rename a field member or method. I’m not sure what sort of support the Dalvik VM provides but if you make a change it does not support you’ll get that dialog box.

    Now, as for the buttons:

    • Continue: Accept that the changes you have made will not take effect immediately in the emulator and continue debugging
    • Terminate: Kill the app
    • Disconnect: Do not kill the app but end the debugging session (i.e. disconnect the debugger)

    If you check the box, it will always Continue.

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

Sidebar

Related Questions

In my Android application in Eclipse, I get the following error. UNEXPECTED TOP-LEVEL EXCEPTION:
What is the procedure to call axis webservice(already running on my machine) through android
I am working on an Android application which works with JNI, with already developed
I am calling the following code two times in my application. Will Android start
I've already written some small Android Applications, most of them in one Activity and
My Android application uses Java OAuth library, found here for authorization on Twitter. I
In Android application development, I frequently go through the word CallBack in many places.
My Android application uses a secret key to generate a token for authentication purposes.
My android application has several warnings of the following form when I run it
In my Android application, when I rotate the device (slide out the keyboard) then

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.