0
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?

Android studioのエミュレータでDeepLinkを簡単に試す方法

0
Posted at

はじめに

今回はandroidStudioのエミュレータでDeepLinkタップ時の挙動を確認するための簡単な方法を紹介します

本文

まずは、下記のコマンドで現在開いてるエミュレータの識別子を取得します

~/Library/Android/sdk/platform-tools/adb devices

次に、表示された結果から識別子を抜き出し、下記のように-sコマンドの後ろに入力します

~/Library/Android/sdk/platform-tools/adb -s emulator-5556 shell am start \
  -a android.intent.action.VIEW \
  -d "deep link url"

こうすることで簡単に確認することができます

最後に

前までわざわざメモ帳に書いてたりしたので、似た人が救われればいいななどと考えてます

0
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
0
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?