I am trying to test android deep link urls through adb to launch my app

前端 未结 11 897
孤街浪徒
孤街浪徒 2021-01-30 10:07

When I type the command in adb:

./adb shell am start -W -a android.intent.action.VIEW -d \"example:gizmos\" com.myapp

I get this error:

11条回答
  •  臣服心动
    2021-01-30 10:54

    The best solution for android studio is explained here: https://code.tutsplus.com/tutorials/how-to-enable-deep-links-on-android--cms-26317

    TLDR : Android Studio --> Run --> Edit Configurations

    Change Launch in Launch Options to "URL" and enter in the text field URL the correct url: "something://"

提交回复
热议问题