How to fix the: " Android Studio project Deprecated Gradle Feature, incompatible with Gradle 8.0 " issue
Here's what worked for me:
First I wrote this line of code in the Android Studio terminal:
./gradlew build --warning-mode all
When you do that, you will be shown in the logcat what is found to be deprecated or an issue in your project.
For me it was the jcenter()
repository that needed to be removed in my settings.gradle
file and also I needed to update classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.21"
to classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30"
in my build.gradle
project file.
Once I did these things, my project built perfectly and installed on my emulator !