Delphi sometimes cannot connect to debug some phones, solutions:
1. Install Google USB Driver
2. Check the phone or tablet USB vid,pid via Device Manager
3. Modify the Android_winusb.inf on your computer to add the vid,pid found in the 2nd step to the INF.
For example:
;Samsung Galaxy S3
%SingleAdbInterface% = USB_Install, USB\VID_04E8&PID_6860
%CompositeAdbInterface% = USB_Install, USB\VID_04E8&PID_6860&MI_03
For details, please see:
http://delphi.org/2014/01/custom-android-adb-usb/
Http://www.cnblogs.com/hezihang/p/5076606.html
Delphi implements Broadcastreceiver functions under Android (for example, obtaining USB Peripheral Unplugged messages under Delphi)
Http://www.cnblogs.com/hezihang/p/3978434.html
Delphi Android USB Interface with the G2
Http://www.cnblogs.com/hezihang/p/3678157.html
Delphi Android USB Declaration file
Http://www.cnblogs.com/hezihang/p/3976880.html
Delphi Debug Connect any Android phone/tablet/box (to install Google USB Driver, and there are many related articles on USB)