当前位置: 首页 > 知识库问答 >
问题:

在AppCenter中生成release Flutter应用程序时出错[副本]

祝允晨
2023-03-14

当我在AppCenter中为Android构建我的Flutter应用程序时,我收到这个错误,它是什么“Gradle没有执行权限”,它不在我的机器上,它在AppCenter的:

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

共有1个答案

贝钧
2023-03-14

也有同样的问题。对于我来说,Git update-index--chmod=+x gradlew如这里所述https://stackoverflow.com/A/49074196/3573390

 类似资料: