21

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"

z.g.y
  • 5,512
  • 4
  • 10
  • 36
user2343647
  • 633
  • 6
  • 17

3 Answers3

14

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

Code Poet
  • 6,222
  • 2
  • 29
  • 50
  • They mention EE for Live Edit in the Tooling page, but they don't for Layout Inspector. I will wait for a stable release, I am just beginning my project. Thanks and enjoy your 50 points :-) – user2343647 Jun 02 '22 at 20:08
  • Ok, thanks :-), I'm using the recomposition counts on EE and it works nicely. I have actually sorted out an infinite recomposition loop that I was not aware of... I recommend it! – Code Poet Jun 02 '22 at 20:19
  • 1
    @CodePoet may i know which version of EE you are using? i still can't make it appear – dwqdq13213 Jun 22 '22 at 11:30
  • @dwqdq13213 I am currently on Electric Eel | 2022.1.1 Canary 5 – Code Poet Jun 22 '22 at 12:56
  • 1
    @CodePoet i successfully make it show up when i open google's sample, but when it comes to my working project that contains more than 30 sub-modules, it doesn't work. not sure what happens – dwqdq13213 Jun 22 '22 at 18:18
  • 1
    @dwqdq13213 Sorry, I don't know. Maybe it's a bug. But I would suggest you open your own question in case someone can help. – Code Poet Jun 22 '22 at 18:22
13

You just need to enable this option in View Options

enter image description here

Merkost
  • 1,251
  • 9
  • 16
5

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.

iptton
  • 593
  • 1
  • 4
  • 11