in the andriod\settings.gradle change the 8.1.0
plugins {
id "com.android.application" version "8.1.0" apply false
}
to 8.3.0
plugins { id "com.android.application" version "8.3.0" apply false }
and in the gradle\gradle_wrapper.properties change the 8.3
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-all.zip
to 8.4
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-all.zip