0
按照張貼在https://developer.android.com/training/app-indexing/deep-linking.html,我們可以使用下面的命令如何爲Deep Link Android應用程序觸發器調試啓動附加調試器?
adb shell am start -W -a android.intent.action.VIEW -d "example://gizmos" com.example.android
但如果我要開始調試,我可以添加一個-D
,如下
adb shell am start -W -a android.intent.action.VIEW -d "example://gizmos" com.example.android -D
啓動深層鏈接應用程序啓動我的應用得到推出,但它的存在,說明
Waiting For Debugger
Application Android System (process system:ui) is waiting for the debugger to attach
從那裏,我檢查我的Android工作室,它沒有連接。不知道我怎麼能連接它?
如何'手動附加'?它來自我們可以這樣做的Android Studio或命令行嗎? – Elye
如果您打算將其用作圖形調試器,通常需要Android Studio。在構建菜單下,有一個選項「附加調試器到Android進程」 –