• appprocessDebugGoogleServices
• appcheckDebugAarMetadata
• appcreateDebugCompatibleScreenManifests
• appjavaPreCompileDebug
• appmergeDebugShaders
• appcheckDebugDuplicateClasses
• appdesugarDebugFileDependencies
• appmergeDebugStartupProfile
• appmergeDebugJniLibFolders
• appvalidateSigningDebug
• appwriteDebugAppMetadata
• appwriteDebugSigningConfigVersions
• org.gradle.internal.operations.BuildOperationInvocationException: Unable to delete directory 'C:\Users\guman\AndroidStudioProjects\Stress_app\app\build\intermediates\data_binding_dependency_artifacts\debug\dataBindingMergeDependencyArtifactsDebug'
• java.io.IOException: Unable to delete directory 'C:\Users\guman\AndroidStudioProjects\Stress_app\app\build\intermediates\data_binding_dependency_artifacts\debug\dataBindingMergeDependencyArtifactsDebug'
• org.gradle.internal.operations.BuildOperationInvocationException: Unable to delete directory 'C:\Users\guman\AndroidStudioProjects\Stress_app\app\build\generated\res\resValues\debug'
• java.io.IOException: Unable to delete directory 'C:\Users\guman\AndroidStudioProjects\Stress_app\app\build\generated\res\resValues\debug'
• org.gradle.internal.operations.BuildOperationInvocationException: Unable to delete directory 'C:\Users\guman\AndroidStudioProjects\Stress_app\app\build\generated\res\processDebugGoogleServices'
• java.io.IOException: Unable to delete directory 'C:\Users\guman\AndroidStudioProjects\Stress_app\app\build\generated\res\processDebugGoogleServices'
• org.gradle.internal.operations.BuildOperationInvocationException: Unable to delete directory 'C:\Users\guman\AndroidStudioProjects\Stress_app\app\build\intermediates\aar_metadata_check\debug\checkDebugAarMetadata'
• java.io.IOException: Unable to delete directory 'C:\Users\guman\AndroidStudioProjects\Stress_app\app\build\intermediates\aar_metadata_check\debug\checkDebugAarMetadata'
• org.gradle.internal.operations.BuildOperationInvocationException: Unable to delete directory 'C:\Users\guman\AndroidStudioProjects\Stress_app\app\build\intermediates\compatible_screen_manifest\debug\createDebugCompatibleScreenManifests'
• java.io.IOException: Unable to delete directory 'C:\Users\guman\AndroidStudioProjects\Stress_app\app\build\intermediates\compatible_screen_manifest\debug\createDebugCompatibleScreenManifests'
how i solve this error
v
Vampire
06/04/2024, 10:06 AM
That has not much to do with Gradle.
Investigate why it cannot delete the directories it needs to delete.
Maybe they have weird permissions set, or maybe you have those files / folders open in some program that locks them.
m
Martin
06/04/2024, 10:18 AM
I’ve seen those kind of things when running Gradle from Xcode. If that’s the case, double check you disabled sandboxing and restart your daemon. See https://github.com/gradle/gradle/issues/27068
v
Vampire
06/04/2024, 10:19 AM
If the problem is with locked files, either
handle
or the
ProcessExplorer
can help in identifying which process is locking a given file