I started working with a flutter project, and as a beginner, I tried to run the default code given by the flutter team. But I keep getting the error as given below.
FAILURE: Build failed with an exception.
Execution failed for task ':app:mergeDebugResources'.
Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Failed to transform artifact 'core.aar (androidx.core:core:1.1.0)' to match attributes {artifactType=android-res}.
> Execution failed for AarTransform: C:Userskrish.gradlecachesransforms-2files-2.1a528b13ac93e64cafa3d0480e2c93207core-1.1.0.
> Cannot parse result path string:
Failed to transform artifact 'core.aar (androidx.core:core:1.1.0)' to match attributes {artifactType=android-res}.
> Execution failed for AarTransform: C:Userskrish.gradlecachesransforms-2files-2.1a528b13ac93e64cafa3d0480e2c93207core-1.1.0.
> Cannot parse result path string:
Failed to transform artifact 'core.aar (androidx.core:core:1.1.0)' to match attributes {artifactType=android-res}.
> Execution failed for AarTransform: C:Userskrish.gradlecachesransforms-2files-2.1a528b13ac93e64cafa3d0480e2c93207core-1.1.0.
> Cannot parse result path string:
Failed to transform artifact 'core.aar (androidx.core:core:1.1.0)' to match attributes {artifactType=android-res}.
> Execution failed for AarTransform: C:Userskrish.gradlecachesransforms-2files-2.1a528b13ac93e64cafa3d0480e2c93207core-1.1.0.
> Cannot parse result path string:
Failed to transform artifact 'core.aar (androidx.core:core:1.1.0)' to match attributes {artifactType=android-res}.
> Execution failed for AarTransform: C:Userskrish.gradlecachesransforms-2files-2.1a528b13ac93e64cafa3d0480e2c93207core-1.1.0.
> Cannot parse result path string:
BUILD FAILED in 7s Exception: Gradle task assembleDebug failed with
exit code 1
It would be of great help if you could help me out. Thanks in advance.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…