Calling flutter build -h yields:
Available subcommands:
aar Build a repository containing an AAR and a POM file.
apk Build an Android APK file from your app.
appbundle Build an Android App Bundle file from your app.
bundle Build the Flutter assets directory from your app.
linux Build a Linux desktop application.
web Build a web application bundle.
But none of the targets works.
$ flutter build aar
[!] No Android SDK found. Try setting the ANDROID_SDK_ROOT environment variable.
$ flutter build apk
Target file "lib/main.dart" not found.
$ flutter build appbundle
Target file "lib/main.dart" not found.
$ flutter build bundle
Target file "lib/main.dart" not found.
$ flutter build linux
Target file "lib/main.dart" not found.
$ flutter build web
Target file "lib/main.dart" not found.
$ flutter build windows
Target file "lib/main.dart" not found.
Might me a trivial error, as I have no experience with Dart.
Calling flutter build -h yields:
Available subcommands:
aar Build a repository containing an AAR and a POM file.
apk Build an Android APK file from your app.
appbundle Build an Android App Bundle file from your app.
bundle Build the Flutter assets directory from your app.
linux Build a Linux desktop application.
web Build a web application bundle.
But none of the targets works.
$ flutter build aar
[!] No Android SDK found. Try setting the ANDROID_SDK_ROOT environment variable.
$ flutter build apk
Target file "lib/main.dart" not found.
$ flutter build appbundle
Target file "lib/main.dart" not found.
$ flutter build bundle
Target file "lib/main.dart" not found.
$ flutter build linux
Target file "lib/main.dart" not found.
$ flutter build web
Target file "lib/main.dart" not found.
$ flutter build windows
Target file "lib/main.dart" not found.
Might me a trivial error, as I have no experience with Dart.