More than 5 years have passed since last update.
Wi-Fi越しにadb接続する
113
Last updated at Posted at 2015-06-10
adbコマンドはUSBで接続してないと使えないのかと思ったけど、Wi-Fi越しでも使えるらしい。すごい!
端末をUSB接続した状態で下記コマンドを実行します。
adb tcpip 5555
adb connect xxx.xxx.xxx.xxx
xxx.xxx.xxx.xxxはAndroid端末のIPアドレスにしてください。
接続完了したら、USBケーブルを抜いてもadb shellで端末操作できるしadb pushでファイル送ったりadb pullでファイル引っこ抜いたりadb logcatでログを見たりできます。Android StudioでデバッグしたりAPKのデプロイも可能!GearVRに刺しっぱなしでもステップ実行したりログ見たりアプリ再インストールしたりできます!!
接続を終了する時は
adb disconnect
でOK。
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
