gpt4 book ai didi

android - AppFlow 电容器构建错误 : PermissionDenied gradlew

转载 作者:行者123 更新时间:2023-11-29 22:50:29 25 4
gpt4 key购买 nike

我的 android 构建在 appflow 中失败。我只是按照说明操作,不知道如何解决这个问题。

这是构建日志的最后一点:

[07:25:07]: Building android...
+----------------------------+-----------------------+
| Lane Context |
+----------------------------+-----------------------+
| DEFAULT_PLATFORM | ios |
| PLATFORM_NAME | android |
| LANE_NAME | android package_build |
| PROJECT_WEB_DIR | www |
| DOWNLOAD_CREDENTIAL_EXISTS | false |
| GRADLE_BUILD_TYPE | Debug |
+----------------------------+-----------------------+
[07:25:07]: Permission denied - /builds/project-0/android/gradlew

+------+-------------------------+-------------+
| fastlane summary |
+------+-------------------------+-------------+
| Step | Action | Time (in s) |
+------+-------------------------+-------------+
| 1 | default_platform | 0 |
| 2 | build_summary | 1 |
| 3 | add_git_credentials | 0 |
| 4 | detect_native_type | 0 |
| 5 | get_web_dir | 0 |
| 6 | modify_cap_web_config | 0 |
| 7 | download_credential | 0 |
| 8 | build_pro_app | 60 |
| 9 | cap_sync | 1 |
| 10 | cap_custom_deploy | 0 |
| 💥 | build_android_capacitor | 0 |
+------+-------------------------+-------------+

[07:25:07]: fastlane finished with errors
/usr/local/bin/fastlane: [!] Permission denied - /builds/project-0/android/gradlew (Errno::EACCES)
Running after script...
$ run "clean-up"
ERROR: Job failed: command terminated with exit code 1

感谢任何帮助!

最佳答案

当在 Windows 系统中创建平台时,有时会发生这种情况。需要给 gradlew 添加执行权限。如有必要,您可以使用 git 在 Windows 上设置 linux 样式权限。

https://ionic.zendesk.com/hc/en-us/articles/360000160067-Adding-execute-permissions-using-git

关于android - AppFlow 电容器构建错误 : PermissionDenied gradlew,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57987645/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com