最終更新:2022-03-16 (水) 09:21:48 (765d)  

flutter build
Top / flutter build

help

Windows

  • Build an executable app or install bundle.
    
    Global options:
    -h, --help                  Print this usage information.
    -v, --verbose               Noisy logging, including all shell commands executed.
                                If used with "--help", shows hidden options. If used with "flutter doctor", shows additional
                                diagnostic information. (Use "-vv" to force verbose logging in those cases.)
    -d, --device-id             Target device id or name (prefixes allowed).
        --version               Reports the version of this tool.
        --suppress-analytics    Suppress analytics reporting when this command runs.
    
    Usage: flutter build <subcommand> [arguments]
    -h, --help    Print this usage information.
    
    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.
      web         Build a web application bundle.
    
    Run "flutter help" to see global options.

macOS

  • Build an executable app or install bundle.
    
    Global options:
    -h, --help                  Print this usage information.
    -v, --verbose               Noisy logging, including all shell commands
                                executed.
                                If used with "--help", shows hidden options. If used
                                with "flutter doctor", shows additional diagnostic
                                information. (Use "-vv" to force verbose logging in
                                those cases.)
    -d, --device-id             Target device id or name (prefixes allowed).
        --version               Reports the version of this tool.
        --suppress-analytics    Suppress analytics reporting when this command runs.
    
    Usage: flutter build <subcommand> [arguments]
    -h, --help    Print this usage information.
    
    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.
      ios             Build an iOS application bundle (Mac OS X host only).
      ios-framework   Produces .xcframeworks for a Flutter project and its plugins
                      for integration into existing, plain Xcode projects.
      ipa             Build an iOS archive bundle (Mac OS X host only).
      web             Build a web application bundle.
    
    Run "flutter help" to see global options.