android-emulator-runner
android-emulator-runner copied to clipboard
script: ./gradlew not found flutter based project
That's because the android module is located in android
subdirectory in a Flutter project. Try running ./android/gradlew -p android ...
or cd android; ./gradlew ...
. BTW, you shouldn't need to interact with Gradle in a Flutter project.
You can also set the working-directory
to your Gradle root.