When debugging applications that use USB accessory or host features, you most likely will have USB hardware connected to your Android-powered device. This will prevent you from having an adb connection to the Android-powered device via USB. You can still access adb over a network connection. To enable adb over a network connection:
1. Connect the Android-powered device via USB to your computer.
2. From your SDK platform-tools/ directory, enter adb tcpip 5555 at the command prompt.
3. Enter adb connect
4. To set your device to listen on USB, enter adb usb.
沒有留言:
張貼留言