android-emulator-runner icon indicating copy to clipboard operation
android-emulator-runner copied to clipboard

script: ./gradlew not found flutter based project

Open richard457 opened this issue 3 years ago • 2 comments

richard457 avatar Jul 11 '21 19:07 richard457

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.

ashutoshgngwr avatar Jul 21 '21 04:07 ashutoshgngwr

You can also set the working-directory to your Gradle root.

ychescale9 avatar Jul 21 '21 05:07 ychescale9