Whenever i'm trying to run my gradle file , i keep getting this error even a simple test file throws this error.
Cannot locate JAR for module 'kotlin-compiler-embeddable-1.3.21-patched-for-gradle' in distribution directory
but why am i getting this , i'am not even using kotlin, is there a way to remove the kotlin dependency?? or is there something wrong with one of my settings?
This is question is similar to this question , but this question doesn't seem to have an answer to it , hopefully i could get one.
Edit : Android version is 4.0 and the dependency's are
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation 'com.google.android.material:material:1.1.0'
implementation 'com.google.code.gson:gson:2.8.5'
testImplementation 'junit:junit:4.12'
}