As per posted in https://developer.android.com/training/app-indexing/deep-linking.html, we could start the deeplink App Launch using the below command
adb shell am start -W -a android.intent.action.VIEW -d "example://gizmos" com.example.android
But if I want to start debugging, I could add a -D
, as below
adb shell am start -W -a android.intent.action.VIEW -d "example://gizmos" com.example.android -D
My App got launched, but it is there stating
Waiting For Debugger
Application Android System (process system:ui) is waiting for the debugger to attach
From there, I check my Android Studio, it is not attached. Wonder how could I get it attached?