일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
- 앱스토어
- 안드로이드
- Xcode
- SSL
- 애플
- otpkey
- Android
- fido
- 앱리소스
- css
- OSX
- SWIFT
- apple
- 2FA
- MFA
- openssl
- 인증
- 앨범북
- WebAuthn
- FIDO2
- appres
- OTP
- kmip
- albumbook
- MYSQL
- MSYS2
- SwiftUI
- Nodejs
- SSH
- git
- Today
- Total
인디노트
Android Studio Debug via LAN 본문
Manual Process
From your device, if it is rooted
According to a post on xda-developers, you can enable ADB over Wi-Fi from the device with the commands:
su
setprop service.adb.tcp.port 5555
stop adbd
start adbd
And you can disable it and return ADB to listening on USB with
setprop service.adb.tcp.port -1
stop adbd
start adbd
From a computer, if you have USB access already (no root required)
It is even easier to switch to using Wi-Fi, if you already have USB. From a command line on the computer that has the device connected via USB, issue the commands
adb tcpip 5555
adb connect 192.168.0.101:5555
Be sure to replace 192.168.0.101 with the IP address that is actually assigned to your device. Once you are done, you can disconnect from the adb tcp session by running:
adb disconnect 192.168.0.101:5555
You can find the IP address of a tablet in two ways:
Manual IP Discovery:
Go into Android's WiFi settings, click the menu button in the action bar (the vertical ellipsis), hit Advanced and see the IP address at the bottom of the screen.
Use ADB to discover IP:
Execute the following command via adb:
adb shell ip -f inet addr show wlan0
To tell the ADB daemon return to listening over USB
adb usb
Apps to automate the process
There are also several apps on Google Play that automate this process. A quick search suggests adbWireless, WiFi ADB and ADB WiFi. All of these require root access, but adbWireless requires fewer permissions.
'개발 플랫폼 및 언어' 카테고리의 다른 글
MSYS2 네트워크 드라이브 접근 문제 (0) | 2022.09.02 |
---|---|
OS X 라이브러리에서 함수 리스트 보기 (0) | 2022.08.17 |
OS X 설치 APP 을 ISO 파일로 변환하는 방법 (0) | 2022.06.28 |
PAM 소스 컴파일 (0) | 2022.04.15 |
PAM 기본 자료 (0) | 2022.04.14 |