title: Launch error: Failed to connect to remote VM
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/975384/eclipse-error-failed-to-connect-to-remote-vm">Eclipse Error: &ldquo;Failed to connect to remote VM&rdquo;</a>  </p>
  </blockquote>
  
  
  
  <p>I am using Eclipse to dip my toe into Android development. All going well but recently, I am not able to use debug anymore. When I click 'Debug As' - 'Android Application', app builds ok, installs ok but Android device (either actual device or emulator, it makes no difference) waits with 'Waiting For Debugger' with a single 'Force Close' button. In the console, I get something like:-</p>
  
  <blockquote>
    <p>[2011-08-26 11:59:59 - Sunrise] Starting activity
    com.sr.sunrise.Sunrise on device 3833CB14F52C00EC [2011-08-26 11:59:59
    - Sunrise] ActivityManager: Starting: Intent {
    act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER]
    cmp=com.sr.sunrise/.Sunrise } [2011-08-26 12:00:00 - Sunrise]
    Attempting to connect debugger to 'com.sr.sunrise' on port 8614
    [2011-08-26 12:00:00 - Sunrise] Launch error: Failed to connect to
    remote VM</p>
  </blockquote>
  
  <p>I have followed many searches (including this one 
  <a href="https://stackoverflow.com/questions/4268958/hello-world-tutorial-using-the-debug-perspective">StackOverflow.com link</a>
  and this
  <a href="https://stackoverflow.com/questions/2814675/when-i-debug-my-application-i-get-frequently-launch-error-failed-to-connect-to-r">StackOverflow.com link2</a></p>
  
  <p>and I have tried many suggestions but nothing has fixed this problem yet.</p>
  
  <p>Can anyone help me as this is now stopping me from creating my masterpiece ;-)</p>