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

前端 未结 11 694
孤街浪徒
孤街浪徒 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:53

    You can test your deeplink from Android Studio interface.

    1. Select Tools > App Links Assistant.
    2. Click Test App Links in the App Links Assistant.
    3. Enter the URL you want to test in the URL field, for example, http://recipe-app.com/recipe/grilled-potato-salad.
    4. Click Run Test.

    Take a look for learn how to implement applinks via Android Studio Interface. https://developer.android.com/studio/write/app-link-indexing#testindent

提交回复
热议问题