![]() => adb shell 'while true do ps | grep .supervisor.isolated sleep 1 done' It will print out the name when your app starts. This can be done by running the following command in terminal before running your app. The workaround is to find out this temporary name and use adb to set the app to debug. ![]() Because Android Studio is not aware of this name, the debugger will not attach to this process. This temporary name is assigned by the runtime. However, there is a short period of time during app startup when it runs under a temporary package name, in the following form: .supervisor.isolated+ When your instant app is up and running, it runs under your app's package name. However, you will notice that the debugger will fail to stop at breakpoints early in the app's lifecycle (such as Application.onCreate or Activity.onCreate) on devices running Android N and below. ![]() Basic information about how to use Android Studio debugger to debug an Android app is available at Developer Documentation Debug Your AppĪndroid Studio debugger works normally most of the time when debugging an instant app. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |