Problem Statement
I’m trying to set up Shorebird using shorebird init
, but it fails during Gradle initialization with the following error:
✗ Initializing gradlew (0.4s)
Unable to initialize gradlew.
Steps to Reproduce
- Ran
shorebird init
in my project directory - The process starts but fails at Gradle initialization
- Error appears: "Unable to initialize gradlew"
What I Expected
Shorebird should successfully complete the initialization process and set up my project.
Environment
- OS: Windows 10/11
- Flutter Version:
Flutter 3.29.2 • channel stable • .git Framework • revision c236373904 (2 weeks ago) • 2025-03-13 16:17:06 -0400 Engine • revision 18b71d647a Tools • Dart 3.7.2 • DevTools 2.42.3
- Shorebird Version:
Shorebird 1.6.32 • [email protected]:shorebirdtech/shorebird.git Flutter 3.29.2 • revision b14323b05f28b2c72b34f57c8059ec3001d65712 Engine • revision 82e21760c682fccf052b0329ebfd34efa7eeff68
- Gradle Status:
- Running
gradle -v
→ "command not found" - Running
gradlew.bat wrapper --gradle-version 8.4
→ Fails
- Running