Hey guys how to i changing target flutter build apk cause i getting error target file not found on console:
(base) dendimuhmd@mbp-dendimuhmd makanyuk % flutter build apk --release
Target file "lib/main.dart" not found.
Folder structure

You can use -t to change the target.
The main entry-point file of the application, as run on the device. If the "--target" option is omitted, but a file name is provided on the command line, then that is used instead. (defaults to "lib\main.dart")
For your case
flutter build apk -t .\lib\src\main.dart
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With