Ely*_*lye 7 debugging android android-studio android-deep-link
根据https://developer.android.com/training/app-indexing/deep-linking.html中的帖子,我们可以使用以下命令启动深层链接App Launch
adb shell am start -W -a android.intent.action.VIEW -d "example://gizmos" com.example.android
Run Code Online (Sandbox Code Playgroud)
但是如果我想开始调试,我可以添加一个-D,如下所示
adb shell am start -W -a android.intent.action.VIEW -d "example://gizmos" com.example.android -D
Run Code Online (Sandbox Code Playgroud)
我的应用程序已经启动,但它已经存在
Waiting For Debugger
Application Android System (process system:ui) is waiting for the debugger to attach
Run Code Online (Sandbox Code Playgroud)
从那里,我检查我的Android Studio,它没有附加.不知道我怎么能附上它?
| 归档时间: |
|
| 查看次数: |
1386 次 |
| 最近记录: |