2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

MacでAndroid端末(実機)をミラーリングする

2
Posted at

概要

  • アプリをデモするにあたり準備した
  • 手順をメモする

必要なアプリケーションのインストール

$ brew install android-platform-tools scrcpy

実機デバイスをMacに接続する

省略。USB Type-Cでとりあえずつなぎました

接続を確認する

接続されていれば、表示されます

$ adb devices -l
List of devices attached
xxx            device usb:1-1 product:bbb model:bbb device:xyz-abc transport_id:1

ミラーリングする

$ scrcpy
scrcpy 4.0 <https://github.com/Genymobile/scrcpy>
INFO: ADB device found:
INFO:     -->   (usb)  58823199900                     device  xxx
/opt/homebrew/Cellar/scrcpy/4.0/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 512.2 MB/s (732226 bytes in 0.001s)
[server] INFO: Device: [KYOCERA] KYOCERA xxx (Android xx)
INFO: Renderer: metal
INFO: Texture: 864x1920

これで、ミラーリングされたWindowが起動すればおk

参考URL

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?