./gradlew permission denied code example Example 1: ./gradlew permission denied chmod +x gradlew Example 2: macos gradlew clean permission denied chmod +x gradlew