Jetpack Compose: The layout inspector is not showing the menu for recomposition counts

9k Views Asked by At

Android Studio Bumblebee Patch 3

From this page, it says that I can see recomposition counts: https://developer.android.com/jetpack/compose/tooling#recomposition-counts

It does not show the menu option to me. Only the device name and "Stop inspector"

3

There are 3 best solutions below

0
On

You just need to enable this option in View Options

enter image description here

6
On

This is only available in Electric Eel at the moment:

"For even more cutting edge features, you can take a sneak peek at the Android Studio Electric Eel release in the Canary channel [...] These features will be promoted to more stable channels once we have your feedback and make improvements, so please try them out." Source

0
On

I got the same issue, and found the official site has noted that, after upgrade compose version and use Android Studio Preview version, it works for me:

To get started, make sure your app is using Compose 1.2.0-alpha03 or higher. Then deploy your app as you normally would.