Copied from http://developer.android.com/guide/developing/eclipse-adt.html and http://developer.android.com/guide/developing/device.html#setting-up Suppose you use the eclipse plugin. Maybe it’s better to just read them yourself.
* Declare your application as debuggable in your manifest
Eclipse "" ( "" "" ). AndroidManifest.xml android: debuggable = "true".
* Enable USB Debugging on your device
, MENU, "" > "", USB-.
* Ensure that your development computer can detect your device when connected via USB
USB , "" > "" ( "" > "" ) Eclipse.
. http://developer.android.com/guide/developing/device.html#setting-up
, , adb / SDK. , , "".
Eclipse, , . " ", () (). , .