Android Studio 3.2 Canary 10 is now available in the Canary and Dev channels.
Read more
Android Studio 3.2 Canary 10 is now available in the Canary and Dev channels.
Profiler Sessions
You can now save Profiler data as "sessions" to revisit and inspect later. (The profiler keeps your session data until you restart the IDE.)
After you deploy your app by selecting
Run > Profile from the main menu, start a new session by clicking

and selecting an app process from the dropdown menu, as shown below.
When you record a method trace or capture a heap dump, the IDE adds that data (along with your app's network activity) as a separate entry to the current session, and you can easily switch back and forth between recordings to compare data. To stop adding data to the current session, click

.
System Trace
In the
CPU profiler, select the new
System Trace configuration to inspect your device's system CPU and thread activity. This trace configuration is built on
systrace and is useful for investigating system-level issues, such as UI jank.
While using this new trace configuration, you can visually mark important code routines in the profiler timeline by instrumenting your code with the
Trace class.
Navigate External Header Files
When using the
Project window in previous versions of Android Studio, you could navigate to and inspect only the header files that belong to libraries you build locally. With this release, you can now also view and inspect header files included with external C/C++ library dependencies that you import into your app.
If you already
include C/C++ code and libraries in your project, open the
Project window on the left side of the IDE (click
View > Tool Windows > Project) and make sure you select
Android from the drop-down menu. In your project’s cpp/ directory, all headers that are within the scope of your app are organized under the
include node for each of your local C/C++ library projects, as shown below.
General bug fixes:
This update includes fixes for the following public issues:
If you already have an Android Studio build on the
Canary or Dev channel, you can get the update by clicking Help > Check for Update (or Android Studio > Check for Updates on Mac). Otherwise, you can
download here.