Unable to resolve dependency for ‘:app@debug/compileClasspath Error Solution

ERROR: Unable to resolve dependency for ‘:app@debug/compileClasspath’: Failed to transform artifact ‘coordinatorlayout.aar (androidx.coordinatorlayout:coordinatorlayout:1.0.0)’ to match attributes {artifactType=jar}.
Show Details
Affected Modules: app

ERROR: Unable to resolve dependency for ‘:app@debug/compileClasspath’: Failed to transform artifact ‘customview.aar (androidx.customview:customview:1.0.0)’ to match attributes {artifactType=jar}.
Show Details
Affected Modules: app

ERROR: Unable to resolve dependency for ‘:app@debug/compileClasspath’: Failed to transform artifact ‘lifecycle-viewmodel.aar (androidx.lifecycle:lifecycle-viewmodel:2.0.0)’ to match attributes {artifactType=jar}.
Show Details
Affected Modules: app

ERROR: Unable to resolve dependency for ‘:app@debugAndroidTest/compileClasspath’: Failed to transform artifact ‘coordinatorlayout.aar (androidx.coordinatorlayout:coordinatorlayout:1.0.0)’ to match attributes {artifactType=jar}.
Show Details
Affected Modules: app

ERROR: Unable to resolve dependency for ‘:app@debugAndroidTest/compileClasspath’: Failed to transform artifact ‘customview.aar (androidx.customview:customview:1.0.0)’ to match attributes {artifactType=jar}.
Show Details
Affected Modules: app

ERROR: Unable to resolve dependency for ‘:app@debugAndroidTest/compileClasspath’: Failed to transform artifact ‘lifecycle-viewmodel.aar (androidx.lifecycle:lifecycle-viewmodel:2.0.0)’ to match attributes {artifactType=jar}.
Show Details
Affected Modules: app

ERROR: Unable to resolve dependency for ‘:app@debugUnitTest/compileClasspath’: Failed to transform artifact ‘coordinatorlayout.aar (androidx.coordinatorlayout:coordinatorlayout:1.0.0)’ to match attributes {artifactType=jar}.
Show Details
Affected Modules: app

ERROR: Unable to resolve dependency for ‘:app@debugUnitTest/compileClasspath’: Failed to transform artifact ‘customview.aar (androidx.customview:customview:1.0.0)’ to match attributes {artifactType=jar}.
Show Details
Affected Modules: app

ERROR: Unable to resolve dependency for ‘:app@debugUnitTest/compileClasspath’: Failed to transform artifact ‘lifecycle-viewmodel.aar (androidx.lifecycle:lifecycle-viewmodel:2.0.0)’ to match attributes {artifactType=jar}.
Show Details
Affected Modules: app

Change Android Studio Version and sync example from 3.5.6 to 3.5.3