Skip to content

FTBFS: None of the options of 'flutter build' works #3

Description

@StefanSchroeder

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions