Error while building release Flutter app in AppCenter
851
Had the same problem. For me worked git update-index --chmod=+x gradlew
as mentioned here https://stackoverflow.com/a/49074196/3573390
Author by
AVEbrahimi
Untying an impossibly tangled knot is actually possible. For every problem, there is a solution. And I am just one who is interested in untying and solving, that's it :)
Updated on December 16, 2022Comments
-
AVEbrahimi over 1 year
When I build my Flutter app in AppCenter, for Android, I receive this error, what does it "Gradle does not have execution permission.", it's not on my machine, its on AppCenter's :
Running Gradle task 'assembleRelease'... 0.1s [!] Gradle does not have execution permission. You should change the ownership of the project directory to your user, or move the project to a directory with execute permissions. Gradle task assembleRelease failed with exit code 1 ##[error]/bin/bash failed with return code: 1 ##[error]Bash failed with error: /bin/bash failed with return code: 1 ##[section]Finishing: Post Clone Script ##[section]Starting: Checkout