Debugging considerations
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:
- Connect the Android-powered device via USB to your computer.
- From your SDK
platform-tools/
directory, enteradb tcpip 5555
at the command prompt. - Enter
adb connect <device-ip-address>:5555
You should now be connected to the Android-powered device and can issue the usualadb
commands likeadb logcat
. - To set your device to listen on USB, enter
adb usb
.
adb kill-server
adb tcpip 5555
adb connect deviceIP:5555
'Android > 공부' 카테고리의 다른 글
안드로이드 버튼 최상위로 보일때. 문제 (0) | 2018.04.18 |
---|---|
안드로이드 모듈(라이브러리) 깃허브에 올리고 mavan{ url 'https://jitpack.io'} 로 배포하기. (0) | 2018.04.13 |
안드로이드 해상도 (0) | 2017.09.25 |
안드로이드 쿠키관련 웹뷰(자동로그인부분) (0) | 2014.12.17 |