Android studio sync error: Failed to transform artifact-ThrowExceptions

Exception or error:

I am new to android studio. When I opened android studio last time it showed an error of failed to transform artifact.
error in android studio pic, click here to view
the gradle file is

apply plugin: ''

android {
    compileSdkVersion 29
    buildToolsVersion "29.0.3"
    defaultConfig {
        applicationId "com.example.venom"
        minSdkVersion 15
        targetSdkVersion 29
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    buildTypes {
        release {

            matchingFallbacks = ['release']
        enterprise {

            matchingFallbacks = ['release']
        debug {

            matchingFallbacks = ['debug']

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
    implementation 'androidx.appcompat:appcompat:1.1.0'
    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
    testImplementation 'junit:junit:4.13'
    androidTestImplementation 'androidx.test.ext:junit:1.1.1'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'

please help me in solving this error. I have also tried invalidating cache and restarting but that also is not working.

How to solve:

Leave a Reply

Your email address will not be published. Required fields are marked *