I found this issue with Android Studio after updating to the Ladybug version.
I fix it
migrating kotlin to 2.0.0
-> if we use kotlin = "2.0.0" need to update agp to "8.7.2" fixed
-> Also while using Compose in our project, if we use Kotlin 2.0.0 or above, we need to add Compose compiler for the project while migrating to Kotlin 2.0.0
-> gradle wrapper needs to update 8.9 in gradle-wrapper.properties file