`plugins { id 'com.android.application' }
android { compileSdk 31
defaultConfig {
applicationId "com.example.helloworld"
minSdk 16
targetSdk 31
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'com.google.android.material:material:1.5.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
}`
The Above code is my build. Gradle
The Version of Android Studio --> Android Studio Bumblebee | 2021.1.1 Patch 2 for Windows 64-bit I am Facing this Gradle build error since morning I had tried all the things Including once from Previous Stack Overflow Users who said still I am stuck Please Help every Advice will we consider as a blessing please Help
I had tried everything from the following posts but sadly Nothing works:
https://www.youtube.com/watch?v=U8YXxZXlcMY