My app is doing some location tracking and update database when needed, the app has been running 2 days without having any issue. And now I am trying to use the Android Profiler
In Android Studio 4.0 (or higher), the following is the navigation to avoid crashes when running with profiler:
1. From menu click on "Run" 2. Profile 'app'