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:
Your command is incorrect because you are trying with an incorrect package name, Instead of com.myapp.activity.DeepLinkActivity
you have to write only the package name specified in build gradle(Module: app) by 'application Id' e.g if your applicationId is com.companyname
, then your command would be like this:
adb shell am start -W -a android.intent.action.VIEW -d "example://gizmos" com.companyname