Layout Inspector doesn't work with Jetpack Compose and the hint is
Compose inspection unavailable. Could not determine the version of the androidx.compose.ui:ui artifact. Was the version file excluded?
I have no idea how to fix it
Layout Inspector doesn't work with Jetpack Compose and the hint is
Compose inspection unavailable. Could not determine the version of the androidx.compose.ui:ui artifact. Was the version file excluded?
I have no idea how to fix it
Copyright © 2021 Jogjafile Inc.

You probably have excluded the version file as the warning says. Version file is contained under META-INF folder. It should be something like META-INF/*.version. If you have something like below try removing it.
Refer to this link for more details.