2
votes

Jetpack compose can not inspect in AS Layout Inspector. Is there any tools can inspect compose layoutnode.

2

2 Answers

0
votes

Android Studio's Layout Inspector does not currently support Compose. Until then you can use Square's Radiography for debugging, which will print your view hierarchy.

Check out the documentation to use it with Compose: https://github.com/square/radiography#jetpack-compose-support

0
votes

As of the Jetpack Compose Beta launch, the latest version of Android Studio has a version of the Layout Inspector that supports inspecting jetpack compose layouts:

https://developer.android.com/studio/preview/features#compose-layout-inspector

enter image description here