Android Instant Apps: How to debug an instant app?

前端 未结 2 1234
时光取名叫无心
时光取名叫无心 2021-01-12 19:59

When I debug my instant app on Android Studio, the debugger attaches to instant app process and pauses execution at most breakpoints. However it seems to ignore breakpoints

2条回答
  •  情书的邮戳
    2021-01-12 20:15

    I had also problems recently debugging instant apps. with multiple log messages

    "Waiting for application to start debug server"

    in the debug window and after several retrials

    "Could not connect to remote process. Aborting debug session."

    The way I solved the issue is by using the "Attach To Process" option from Android studio "Run" menu.

提交回复
热议问题