Basic information about using the Android Studio debugger to debug an Android application is available on the Developer Documentation Debugging your application .
The Android Studio debugger usually works most of the time when debugging an instant application. However, you will notice that the debugger will not be able to stop at breakpoints at an early stage of the application life cycle (for example, Application.onCreateor Activity.onCreate) on devices running Android N and below.
When your instant application is up and running, it runs under the name of your application. However, when the application starts, there is a short period of time when it starts under the temporary name of the package, in the following form:
com.google.android.instantapps.supervisor.isolated[0-9]+
. Android Studio , .
, adb, . , . .
=> adb shell 'while true; do ps | grep com.google.android.instantapps.supervisor.isolated; sleep 1; done'
u0_i6 31908 630 1121664 29888 0 00ea57eed4 R com.google.android.instantapps.supervisor.isolated15
, , . , " ", " ".
=> adb shell am set-debug-app -w --persistent com.google.android.instantapps.supervisor.isolated15