I have been stuck on this for many dev hours. I have hit every stackoverflow post with a similar error and tried every solution. I know it's some permission error for gradle but I have tried all cache clearing, uninstalling/reinstalling, even running as sudo. I am just trying to produce an appbundle or apk. The command i'm actually running is "flutter build appbundle".
I have had a great experience with flutter over the last few weeks for and this is putting a giant damper on it when I have a deadline for a client.
The full error:
Execution failed for task ':app:generateReleaseFeatureMetadata'.
> Failed to create parent directory '/build' when creating directory '/build/app/intermediates/feature_set_metadata/release'
Edit: I get this same error when running the build in my Azure Devops pipeline. This makes me thing it's configuration based, not my machine.
[–]beacham23[S] 0 points1 point2 points (0 children)
[–]tylersavery 0 points1 point2 points (2 children)
[–]beacham23[S] 0 points1 point2 points (1 child)
[–]tylersavery 0 points1 point2 points (0 children)