差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
android:flutter [2025/03/17 20:29] – [Flutter SDK の入手 (Snap 編)] ともやんandroid:flutter [2025/03/17 21:44] (現在) – [インストール] ともやん
行 10: 行 10:
 これは Linux である Fedora での手順です。\\ これは Linux である Fedora での手順です。\\
 [[https://docs.flutter.dev/get-started/install/linux|Linux install - Flutter documentation]]\\ [[https://docs.flutter.dev/get-started/install/linux|Linux install - Flutter documentation]]\\
 +[[https://docs.flutter.dev/get-started/install/linux/android|Make Android apps | Flutter]] [[gtr>https://docs.flutter.dev/get-started/install/linux/android|翻訳]]\\
  
 ==== システム要件 ==== ==== システム要件 ====
行 11819: 行 11820:
 <WRAP color_command><html><pre> <WRAP color_command><html><pre>
 <font color="#0087FF"><b>$</b></font> <font color="#33C7DE"><b>export</b></font> PATH=<font color="#A2734C">&quot;</font><font color="#2A7BDE"><b>`</b></font><font color="#26A269">pwd</font><font color="#2A7BDE"><b>`</b></font><font color="#A2734C">/flutter/bin:</font><font color="#A347BA">$PATH</font><font color="#A2734C">&quot;</font> <font color="#0087FF"><b>$</b></font> <font color="#33C7DE"><b>export</b></font> PATH=<font color="#A2734C">&quot;</font><font color="#2A7BDE"><b>`</b></font><font color="#26A269">pwd</font><font color="#2A7BDE"><b>`</b></font><font color="#A2734C">/flutter/bin:</font><font color="#A347BA">$PATH</font><font color="#A2734C">&quot;</font>
-<font color="#0087FF"><b>$</b></font> <font color="#26A269">echo</font> <font color="#A2734C">&quot;export PATH=</font><font color="#2A7BDE"><b>`</b></font><font color="#26A269">pwd</font><font color="#2A7BDE"><b>`</b></font><font color="#A2734C">/flutter/bin&quot;&apos;:$PATH&apos;</font> <font color="#2A7BDE"><b>&gt;&gt;</b></font> <u style="text-decoration-style:solid">~/.zshrc</u> +<font color="#0087FF"><b>$</b></font> <font color="#26A269">echo</font> <font color="#A2734C">&apos;export PATH=&apos;</font><font color="#2A7BDE"><b>`</b></font><font color="#26A269">pwd</font><font color="#2A7BDE"><b>`</b></font><font color="#A2734C">&apos;/flutter/bin:$PATH&apos;</font> <font color="#2A7BDE"><b>&gt;&gt;</b></font> <u style="text-decoration-style:solid">~/.zshrc</u> 
-<font color="#0087FF"><b>$</b></font> <font color="#26A269">flutter</font> sdk-path+<font color="#0087FF"><b>$</b></font> <font color="#26A269">flutter</font> <font color="#A347BA">-h</font>
 </pre></html></WRAP> </pre></html></WRAP>
 <WRAP color_result><html><pre> <WRAP color_result><html><pre>
 +Downloading Linux x64 Dart SDK from Flutter engine 082a761570e89f67a56f50de1c4cb843a2e452af...
 +  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
 +                                 Dload  Upload   Total   Spent    Left  Speed
 +100  189M  100  189M    0      10.3M      0  0:00:18  0:00:18 --:--:-- 10.8M
 +Building flutter tool...
 +Resolving dependencies... <font color="#8A8A8A">(1.4s)</font>
 +Downloading packages... <font color="#8A8A8A">(5.2s)</font>
 +Got dependencies.
 +Manage your Flutter app development.
 +
 +Common commands:
 +
 +  flutter create &lt;output directory&gt;
 +    Create a new Flutter project in the specified directory.
 +
 +  flutter run [options]
 +    Run your Flutter application on an attached device or in an emulator.
 +
 +Usage: flutter &lt;command&gt; [arguments]
 +
 +Global options:
 +-h, --help                  Print this usage information.
 +-v, --verbose               Noisy logging, including all shell commands executed.
 +                            If used with &quot;--help&quot;, shows hidden options. If used with &quot;flutter doctor&quot;, shows
 +                            additional diagnostic information. (Use &quot;-vv&quot; to force verbose logging in those
 +                            cases.)
 +-d, --device-id             Target device id or name (prefixes allowed).
 +    --version               Reports the version of this tool.
 +    --enable-analytics      Enable telemetry reporting each time a flutter or dart command runs.
 +    --disable-analytics     Disable telemetry reporting each time a flutter or dart command runs, until it is
 +                            re-enabled.
 +    --suppress-analytics    Suppress analytics reporting for the current CLI invocation.
 +
 +Available commands:
 +
 +Flutter SDK
 +  bash-completion   Output command line shell completion setup scripts.
 +  channel           List or switch Flutter channels.
 +  config            Configure Flutter settings.
 +  doctor            Show information about the installed tooling.
 +  downgrade         Downgrade Flutter to the last active version for the current channel.
 +  precache          Populate the Flutter tool&apos;s cache of binary artifacts.
 +  upgrade           Upgrade your copy of Flutter.
 +
 +Project
 +  analyze           Analyze the project&apos;s Dart code.
 +  assemble          Assemble and build Flutter resources.
 +  build             Build an executable app or install bundle.
 +  clean             Delete the build/ and .dart_tool/ directories.
 +  create            Create a new Flutter project.
 +  drive             Builds and installs the app, and runs a Dart program that connects to the app, often to run
 +                    externally facing integration tests, such as with package:test and package:flutter_driver.
 +  gen-l10n          Generate localizations for the current project.
 +  pub               Commands for managing Flutter packages.
 +  run               Run your Flutter app on an attached device.
 +  test              Run Flutter unit tests for the current project.
 +
 +Tools &amp; Devices
 +  attach            Attach to a running app.
 +  custom-devices    List, reset, add and delete custom devices.
 +  devices           List all connected devices.
 +  emulators         List, launch and create emulators.
 +  install           Install a Flutter app on an attached device.
 +  logs              Show log output for running Flutter apps.
 +  screenshot        Take a screenshot from a connected device.
 +  symbolize         Symbolize a stack trace from an AOT-compiled Flutter app.
 +
 +Run &quot;flutter help &lt;command&gt;&quot; for more information about a command.
 +Run &quot;flutter help -v&quot; for verbose help output, including less commonly used options.
 +</pre></html></WRAP>
 +</WRAP>
 +
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">flutter</font> doctor
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre><div class=BSc>
 +
 +<b>  ╔════════════════════════════════════════════════════════════════════════════╗</b>
 +<b>  ║                 Welcome to Flutter! - https://flutter.dev                  ║</b>
 +<b>  ║                                                                            ║</b>
 +<b>  ║ The Flutter tool uses Google Analytics to anonymously report feature usage ║</b>
 +<b>  ║ statistics and basic crash reports. This data is used to help improve      ║</b>
 +<b>  ║ Flutter tools over time.                                                   ║</b>
 +<b>  ║                                                                            ║</b>
 +<b>  ║ Flutter tool analytics are not sent on the very first run. To disable      ║</b>
 +<b>  ║ reporting, type &apos;flutter config --no-analytics&apos;. To display the current    ║</b>
 +<b>  ║ setting, type &apos;flutter config&apos;. If you opt out of analytics, an opt-out    ║</b>
 +<b>  ║ event will be sent, and then no further information will be sent by the    ║</b>
 +<b>  ║ Flutter tool.                                                              ║</b>
 +<b>  ║                                                                            ║</b>
 +<b>  ║ By downloading the Flutter SDK, you agree to the Google Terms of Service.  ║</b>
 +<b>  ║ The Google Privacy Policy describes how data is handled in this service.   ║</b>
 +<b>  ║                                                                            ║</b>
 +<b>  ║ Moreover, Flutter includes the Dart SDK, which may send usage metrics and  ║</b>
 +<b>  ║ crash reports to Google.                                                   ║</b>
 +<b>  ║                                                                            ║</b>
 +<b>  ║ Read about data we send with crash reports:                                ║</b>
 +<b>  ║ https://flutter.dev/to/crash-reporting                                     ║</b>
 +<b>  ║                                                                            ║</b>
 +<b>  ║ See Google&apos;s privacy policy:                                               ║</b>
 +<b>  ║ https://policies.google.com/privacy                                        ║</b>
 +<b>  ║                                                                            ║</b>
 +<b>  ║ To disable animations in this tool, use                                    ║</b>
 +<b>  ║ &apos;flutter config --no-cli-animations&apos;                                     ║</b>
 +<b>  ╚════════════════════════════════════════════════════════════════════════════╝</b>
 +</div>
 +
 +Downloading Material fonts...                                      426ms
 +Downloading Gradle Wrapper...                                       26ms
 +Downloading package sky_engine...                                  296ms
 +Downloading package flutter_gpu...                                 140ms
 +Downloading flutter_patched_sdk tools...                           455ms
 +Downloading flutter_patched_sdk_product tools...                   454ms
 +Downloading linux-x64 tools...                                      3.4s
 +Downloading linux-x64/font-subset tools...                         295ms
 +Doctor summary (to see all details, run flutter doctor -v):
 +<font color="#A2734C">[!]</font> Flutter (Channel master, 0.0.0-unknown, on Fedora Linux 41 (Forty One) 6.13.4-200.fc41.x86_64, locale
 +    ja_JP.UTF-8)
 +<b>    </b><font color="#E9AD0C"><b>!</b></font><b> Flutter version 0.0.0-unknown on channel master at /home/tomoyan/development/flutter</b>
 +<b>      Cannot resolve current version, possibly due to local changes.</b>
 +<b>      Reinstall Flutter by following instructions at https://flutter.dev/setup.</b>
 +<b>    </b><font color="#E9AD0C"><b>!</b></font><b> The flutter binary is not on your path. Consider adding /home/tomoyan/development/flutter/bin to your path.</b>
 +<b>    </b><font color="#E9AD0C"><b>!</b></font><b> The dart binary is not on your path. Consider adding /home/tomoyan/development/flutter/bin to your path.</b>
 +<font color="#C01C28">[✗]</font> Android toolchain - develop for Android devices
 +<b>    </b><font color="#F66151"><b>✗</b></font><b> Unable to locate Android SDK.</b>
 +<b>      Install Android Studio from: https://developer.android.com/studio/index.html</b>
 +<b>      On first launch it will assist you in installing the Android SDK components.</b>
 +<b>      (or visit https://flutter.dev/to/linux-android-setup for detailed instructions).</b>
 +<b>      If the Android SDK has been installed to a custom location, please use</b>
 +<b>      `flutter config --android-sdk` to update to that location.</b>
 +
 +<font color="#C01C28">[✗]</font> Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
 +<b>    </b><font color="#E9AD0C"><b>!</b></font><b> Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.</b>
 +<font color="#C01C28">[✗]</font> Linux toolchain - develop for Linux desktop
 +<b>    </b><font color="#F66151"><b>✗</b></font><b> clang++ is required for Linux development.</b>
 +<b>      It is likely available from your distribution (e.g.: apt install clang), or can be downloaded from</b>
 +<b>      https://releases.llvm.org/</b>
 +<b>    </b><font color="#F66151"><b>✗</b></font><b> ninja is required for Linux development.</b>
 +<b>      It is likely available from your distribution (e.g.: apt install ninja-build), or can be downloaded from</b>
 +<b>      https://github.com/ninja-build/ninja/releases</b>
 +<b>    </b><font color="#F66151"><b>✗</b></font><b> GTK 3.0 development libraries are required for Linux development.</b>
 +<b>      They are likely available from your distribution (e.g.: apt install libgtk-3-dev)</b>
 +<b>    </b><font color="#E9AD0C"><b>!</b></font><b> Unable to access driver information using &apos;eglinfo&apos;.</b>
 +<b>      It is likely available from your distribution (e.g.: apt install mesa-utils)</b>
 +<font color="#A2734C">[!]</font> Android Studio (not installed)
 +<font color="#26A269">[✓]</font> Connected device (1 available)
 +<font color="#26A269">[✓]</font> Network resources
 +
 +<font color="#A2734C">!</font> Doctor found issues in 5 categories.
 </pre></html></WRAP> </pre></html></WRAP>
 </WRAP> </WRAP>
  • android/flutter.1742210969.txt.gz
  • 最終更新: 2025/03/17 20:29
  • by ともやん