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?

VSCodeでもAndroidの実機をPC上に表示できるようにしたいんじゃ!!(scrcpy)

Last updated at Posted at 2024-06-17

スクリーンショット 2024-06-17 20.37.30.png

はじめに

なかなか忙しくて記事を書く暇がない時期ですが、時間を作ってかけるだけ書こうと思います。なぜならのちに自分にとって役に立つからです。

警告
scrcpyは、VSCode内に埋め込めたり VSCodeと連携している訳ではなくて、完全に別のプロセスとして実行されているそうです。

アドバイスいただきありがとうございます🙇

やりたいこと

  • VSCodeでもAndroidの実機をPC上に表示できるようにしたい

背景

  • Android Studioではとても簡単にAndroidの実機をPC上に表示できましたが、VSCode初心者の僕はすぐに見つからなかった

やり方

以下のリポジトリから引用させていただきます。

Homebrewからインストールをする

brew install scrcpy

adbからアクセスできるようにする

brew install android-platform-tools

実際に表示してみる

前提として、実機を繋いている状態になっている必要があります。

scrcpy

実際のデモ画像

スクリーンショット 2024-06-17 21.11.38.png

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?