参考:Flutter运行错误:Gradle does not have execution permission cd .../项目/android ls -l 可以看出 gradlew 没有执行权限,通过命令添加执行权限解决: chmod a+x gradlew