-
BetaWas this translation helpful?Give feedback.
Answered by Venuru Dec 3, 2025
Replies: 1 comment
-
Your error is not caused by permissions - ./gradlew: cannot execute: required file not found The failure happens because Linux cannot locate or interpret gradlew.
Fix:
Your workflow runs: ./gradlew :fs-core:clean but the file might be inside a module like fs-core/gradlew. If you see: ./fs-core/gradlew |
BetaWas this translation helpful?Give feedback.
0 replies
Answer selected byfredsuvn
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Your error is not caused by permissions - ./gradlew: cannot execute: required file not found
The failure happens because Linux cannot locate or interpret gradlew.
Fix the line endings OR use the correct path to gradlew.
Linux cannot execute a script with CRLF endings.
Fix:
Convert gradlew to LF and commit it:
dos2unix gradlew
git add gradlew
git commit -m "Fix gradlew line endings"
git push
Your workflow runs: ./gradlew :fs-core:clean
but the file might be inside a module like fs-core/gradlew.
Check with: - run: find . -maxdepth 3 -type f
If you see: ./fs-core/gradlew
then use: run: ./fs-core/gradlew :fs…