Android on-device debugging launch fails: Can’t bind to local 8600 for debugger

You try to launch Android app on the device from Eclipse. The debugger fails to connect and times out. Instead, you see this in the Console log:

Can't bind to local 8600 for debugger

To fix this do the following steps exactly in this order

  • Close Eclipse
  • Disconnect USB cable
  • Kill all adb instances on the task manager of your computer
  • Start Eclipse
  • Connect USB cable
  • Launch the application

If this does not help then make sure that you are using IPv4 address for localhost DNS loopback name. Edit /etc/hosts and comment out all IPv6 entries.

 Subscribe to RSS feed Follow me on Twitter Follow me on Facebook Follow me Google+

2 thoughts on “Android on-device debugging launch fails: Can’t bind to local 8600 for debugger

  1. i m trying to run simple database program on ubuntu 11.04, Even i checked in DDMS, DB is created data/data//MyDB but while retrieving data from table it showing warning like ” Activity not started, its current task has been brought to the front”….
    ***mycode***
    public class FunnyNameDatabse extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    SQLiteDatabase db=openOrCreateDatabase(“MyData”,MODE_PRIVATE ,null);
    // db.execSQL(“create table if not exists Person (name varchar, age varchar);”);
    // db.execSQL(“insert into Person values(‘vishal’,’24′);”);
    Cursor c=db.rawQuery(“select * from Person”,null);
    c.moveToFirst();
    Log.d(“result: “,c.getString(0));
    db.close();
    }
    }
    *****************************************end*******************

    so please get me out of this problem

  2. Dear Sir. Vishal,

    I am not sure if I understand what’s your problem is and how or why I should get you out of it?

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>