Repository: flutter
Issue: undefined reference to `fcntl64@GLIBC_2.28' `log2@GLIBC_2.29' `pow@GLIBC_2.29'
Labels: tool,platform-linux,a: desktop,a: build,P2,team-linux,triaged-linux

<!-- Thank you for using Flutter!

     If you are looking for support, please check out our documentation
     or consider asking a question on Stack Overflow:
      * https://flutter.dev/
      * https://api.flutter.dev/
      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

     If you have found a bug or if our documentation doesn't have an answer
     to what you're looking for, then fill out the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

## Steps to Reproduce

<!-- Please tell us exactly how to reproduce the problem you are running into. -->
Run:
 - `flutter create foo`
 - `cd foo`
 - `flutter config --enable-linux-desktop`
 - `flutter create .`
 - `flutter run -v`
I am running Ubuntu 20 Desktop.

## Logs

<!--
      Include the full logs of the commands you are running between the lines
      with the backticks below. If you are running any "flutter" commands,
      please include the output of running them with "--verbose"; for example,
      the output of running "flutter --verbose create foo".
-->

```
$ flutter run
Launching lib/main.dart on Linux in debug mode...
Building Linux application...                                           
Exception: Build process failed
maximilian@ubuntu:~/Documents/work/notifi$ flutter run -v
[  +69 ms] executing: [/home/maximilian/snap/flutter/common/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +18 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 2f2130a88535edffc52708c2f7333090922c6500
[        ] executing: [/home/maximilian/snap/flutter/common/flutter/] git tag --points-at HEAD
[  +10 ms] Exit code 0 from: git tag --points-at HEAD
[   +1 ms] executing: [/home/maximilian/snap/flutter/common/flutter/] git describe --match *.*.* --first-parent --long --tags
[  +23 ms] Exit code 0 from: git describe --match *.*.* --first-parent --long --tags
[        ] 1.21.0-9.0.pre-219-g2f2130a88
[   +7 ms] executing: [/home/maximilian/snap/flutter/common/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +4 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/master
[        ] executing: [/home/maximilian/snap/flutter/common/flutter/] git ls-remote --get-url origin
[   +4 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +31 ms] Unable to locate an Android SDK.
[   +4 ms] executing: [/home/maximilian/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD
[   +4 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] master
[  +27 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +14 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +70 ms] Found plugin flutter_secure_storage at /home/maximilian/snap/flutter/common/flutter/.pub-cache/git/flutter_secure_storage-f119be4d13c6764628e1701a84d04f85d2f6e6e9/
[  +15 ms] Found plugin firebase_messaging at /home/maximilian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/
[   +2 ms] Found plugin flutter_local_notifications at /home/maximilian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-1.5.0-beta.6/
[   +6 ms] Found plugin launch_at_login at /home/maximilian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/launch_at_login-0.0.3/
[   +5 ms] Found plugin package_info at /home/maximilian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info-0.4.1/
[   +1 ms] Found plugin path_provider at /home/maximilian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.11/
[        ] Found plugin path_provider_linux at /home/maximilian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-0.0.1+2/
[        ] Found plugin path_provider_macos at /home/maximilian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4+3/
[   +6 ms] Found plugin sqflite at /home/maximilian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-1.3.1/
[   +5 ms] Found plugin url_launcher at /home/maximilian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-5.5.0/
[        ] Found plugin url_launcher_linux at /home/maximilian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-0.0.1+1/
[        ] Found plugin url_launcher_macos at /home/maximilian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-0.0.1+7/
[   +1 ms] Found plugin url_launcher_web at /home/maximilian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-0.1.2/
[  +55 ms] Found plugin flutter_secure_storage at /home/maximilian/snap/flutter/common/flutter/.pub-cache/git/flutter_secure_storage-f119be4d13c6764628e1701a84d04f85d2f6e6e9/
[   +6 ms] Found plugin firebase_messaging at /home/maximilian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/
[   +1 ms] Found plugin flutter_local_notifications at /home/maximilian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-1.5.0-beta.6/
[   +3 ms] Found plugin launch_at_login at /home/maximilian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/launch_at_login-0.0.3/
[   +2 ms] Found plugin package_info at /home/maximilian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/package_info-0.4.1/
[   +1 ms] Found plugin path_provider at /home/maximilian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.11/
[        ] Found plugin path_provider_linux at /home/maximilian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-0.0.1+2/
[        ] Found plugin path_provider_macos at /home/maximilian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4+3/
[   +4 ms] Found plugin sqflite at /home/maximilian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-1.3.1/
[   +4 ms] Found plugin url_launcher at /home/maximilian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-5.5.0/
[        ] Found plugin url_launcher_linux at /home/maximilian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-0.0.1+1/
[        ] Found plugin url_launcher_macos at /home/maximilian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-0.0.1+7/
[   +1 ms] Found plugin url_launcher_web at /home/maximilian/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-0.1.2/
[  +10 ms] Generating /home/maximilian/Documents/work/notifi/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +56 ms] Starting incremental build...
[   +1 ms] Initializing file store
[   +6 ms] Skipping target: gen_localizations
[   +2 ms] complete
[   +2 ms] Launching lib/main.dart on Linux in debug mode...
[   +3 ms] /home/maximilian/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/maximilian/snap/flutter/common/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root
/home/maximilian/snap/flutter/common/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata -Ddart.developer.causal_async_stacks=true --output-dill
/tmp/flutter_tools.ACOXYB/flutter_tool.PIYYZG/app.dill --packages .packages -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill
build/cache.dill.track.dill
[  +12 ms] Building Linux application...
[  +14 ms] <- compile package:notifi/main.dart
[   +2 ms] executing: [build/linux/debug/] cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug /home/maximilian/Documents/work/notifi/linux
[  +50 ms] -- Configuring done
[   +4 ms] -- Generating done
[        ] -- Build files have been written to: /home/maximilian/Documents/work/notifi/build/linux/debug
[   +6 ms] executing: ninja -C build/linux/debug install
[  +17 ms] ninja: Entering directory `build/linux/debug'
[+2861 ms] [1/7] Generating /home/maximilian/Documents/work/notifi/linux/flutter/ephemeral/libflutter_linux_gtk.so, /home/maximilian/Documents/work/notifi/linux/flutter/ephemeral/flutter_linux/fl_basic_message_channel.h,
/home/maximilian/Documents/work/notifi/linux/flutter/ephemeral/flutter_linux/fl_binary_codec.h, /home/maximilian/Documents/work/notifi/linux/flutter/ephemeral/flutter_linux/fl_binary_messenger.h,
/home/maximilian/Documents/work/notifi/linux/flutter/ephemeral/flutter_linux/fl_dart_project.h, /home/maximilian/Documents/work/notifi/linux/flutter/ephemeral/flutter_linux/fl_engine.h,
/home/maximilian/Documents/work/notifi/linux/flutter/ephemeral/flutter_linux/fl_json_message_codec.h, /home/maximilian/Documents/work/notifi/linux/flutter/ephemeral/flutter_linux/fl_json_method_codec.h,
/home/maximilian/Documents/work/notifi/linux/flutter/ephemeral/flutter_linux/fl_message_codec.h, /home/maximilian/Documents/work/notifi/linux/flutter/ephemeral/flutter_linux/fl_method_call.h,
/home/maximilian/Documents/work/notifi/linux/flutter/ephemeral/flutter_linux/fl_method_channel.h, /home/maximilian/Documents/work/notifi/linux/flutter/ephemeral/flutter_linux/fl_method_codec.h,
/home/maximilian/Documents/work/notifi/linux/flutter/ephemeral/flutter_linux/fl_method_response.h, /home/maximilian/Documents/work/notifi/linux/flutter/ephemeral/flutter_linux/fl_plugin_registrar.h,
/home/maximilian/Documents/work/notifi/linux/flutter/ephemeral/flutter_linux/fl_plugin_registry.h, /home/maximilian/Documents/work/notifi/linux/flutter/ephemeral/flutter_linux/fl_standard_message_codec.h,
/home/maximilian/Documents/work/notifi/linux/flutter/ephemeral/flutter_linux/fl_standard_method_codec.h, /home/maximilian/Documents/work/notifi/linux/flutter/ephemeral/flutter_linux/fl_string_codec.h,
/home/maximilian/Documents/work/notifi/linux/flutter/ephemeral/flutter_linux/fl_value.h, /home/maximilian/Documents/work/notifi/linux/flutter/ephemeral/flutter_linux/fl_view.h,
/home/maximilian/Documents/work/notifi/linux/flutter/ephemeral/flutter_linux/flutter_linux.h, _phony_
[   +4 ms] [  +73 ms] executing: [/home/maximilian/snap/flutter/common/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [  +22 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] 2f2130a88535edffc52708c2f7333090922c6500
[        ] [        ] executing: [/home/maximilian/snap/flutter/common/flutter/] git tag --points-at HEAD
[        ] [  +11 ms] Exit code 0 from: git tag --points-at HEAD
[        ] [   +1 ms] executing: [/home/maximilian/snap/flutter/common/flutter/] git describe --match *.*.* --first-parent --long --tags
[        ] [  +21 ms] Exit code 0 from: git describe --match *.*.* --first-parent --long --tags
[        ] [        ] 1.21.0-9.0.pre-219-g2f2130a88
[        ] [   +8 ms] executing: [/home/maximilian/snap/flutter/common/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [   +3 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/master
[        ] [        ] executing: [/home/maximilian/snap/flutter/common/flutter/] git ls-remote --get-url origin
[        ] [   +3 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +28 ms] Unable to locate an Android SDK.
[        ] [   +4 ms] executing: [/home/maximilian/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD
[        ] [   +4 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] master
[        ] [  +27 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [   +3 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [  +65 ms] Initializing file store
[        ] [   +8 ms] Done initializing file store
[        ] [  +26 ms] Skipping target: gen_localizations
[        ] [ +952 ms] Skipping target: kernel_snapshot
[        ] [ +958 ms] Skipping target: unpack_linux
[        ] [ +237 ms] Skipping target: debug_bundle_linux_assets
[        ] [   +1 ms] Persisting file store
[        ] [   +9 ms] Done persisting file store
[        ] [   +6 ms] build succeeded.
[        ] [   +5 ms] "flutter assemble" took 2,283ms.
[        ] [  +23 ms] ensureAnalyticsSent: 21ms
[        ] [   +1 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 0
[  +50 ms] [2/6] Linking CXX shared library plugins/url_launcher_linux/liburl_launcher_linux_plugin.so
[ +195 ms] [3/6] Building CXX object CMakeFiles/notifi.dir/flutter/generated_plugin_registrant.cc.o
[  +27 ms] [4/6] Building CXX object CMakeFiles/notifi.dir/my_application.cc.o
[  +74 ms] [5/6] Linking CXX executable notifi
[        ] FAILED: notifi 
[        ] : && /snap/flutter/22/usr/bin/clang++  -g  -L/snap/flutter/22/usr/lib/gcc/x86_64-linux-gnu/8 -L/snap/flutter/22/usr/lib/x86_64-linux-gnu -L/snap/flutter/22/usr/lib/ CMakeFiles/notifi.dir/main.cc.o CMakeFiles/notifi.dir/my_application.cc.o
CMakeFiles/notifi.dir/flutter/generated_plugin_registrant.cc.o  -o notifi  -Wl,-rpath,/home/maximilian/Documents/work/notifi/build/linux/debug/plugins/url_launcher_linux:/home/maximilian/Documents/work/notifi/linux/flutter/ephemeral:
plugins/url_launcher_linux/liburl_launcher_linux_plugin.so /snap/flutter/current/usr/lib/x86_64-linux-gnu/libgtk-3.so /snap/flutter/current/usr/lib/x86_64-linux-gnu/libgdk-3.so /snap/flutter/current/usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so
/snap/flutter/current/usr/lib/x86_64-linux-gnu/libpango-1.0.so /snap/flutter/current/usr/lib/x86_64-linux-gnu/libatk-1.0.so /snap/flutter/current/usr/lib/x86_64-linux-gnu/libcairo-gobject.so /snap/flutter/current/usr/lib/x86_64-linux-gnu/libcairo.so
/snap/flutter/current/usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so /home/maximilian/Documents/work/notifi/linux/flutter/ephemeral/libflutter_linux_gtk.so /snap/flutter/current/usr/lib/x86_64-linux-gnu/libgio-2.0.so
/snap/flutter/current/usr/lib/x86_64-linux-gnu/libgobject-2.0.so /snap/flutter/current/usr/lib/x86_64-linux-gnu/libglib-2.0.so /snap/flutter/current/usr/lib/x86_64-linux-gnu/libblkid.so && :
[   +1 ms] //opt/amdgpu/lib/x86_64-linux-gnu/libEGL.so.1: undefined reference to `fcntl64@GLIBC_2.28'
[        ] //opt/amdgpu/lib/x86_64-linux-gnu/libdrm.so.2: undefined reference to `log2@GLIBC_2.29'
[        ] //opt/amdgpu/lib/x86_64-linux-gnu/libEGL.so.1: undefined reference to `pow@GLIBC_2.29'
[        ] clang: error: linker command failed with exit code 1 (use -v to see invocation)
[        ] ninja: build stopped: subcommand failed.
[   +7 ms] Building Linux application... (completed in 3.3s)
[+1823 ms] Exception: Build process failed
[   +1 ms] "flutter run" took 5,477ms.
[   +2 ms] 
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
           #1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:606:7)
           <asynchronous suspension>
           #2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:909:18)
           #3      _rootRunUnary (dart:async/zone.dart:1198:47)
           #4      _CustomZone.runUnary (dart:async/zone.dart:1100:19)
           #5      _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
           #6      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
           #7      Future._propagateToListeners (dart:async/future_impl.dart:725:32)
           #8      Future._completeWithValue (dart:async/future_impl.dart:529:5)
           #9      _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
           #10     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
           #11     RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
           #12     _rootRunUnary (dart:async/zone.dart:1198:47)
           #13     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
           #14     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
           #15     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
           #16     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
           #17     Future._completeWithValue (dart:async/future_impl.dart:529:5)
           #18     Future._asyncCompleteWithValue.<anonymous closure> (dart:async/future_impl.dart:567:7)
           #19     _rootRun (dart:async/zone.dart:1190:13)
           #20     _CustomZone.run (dart:async/zone.dart:1093:19)
           #21     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
           #22     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1037:23)
           #23     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
           #24     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
           #25     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
           #26     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)
           
           
[  +23 ms] ensureAnalyticsSent: 22ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hook priority 4
[   +4 ms] Shutdown hooks complete
[        ] exiting with code 1

```

<!-- If possible, paste the output of running `flutter doctor -v` here. -->

```
[✓] Flutter (Channel master, 1.21.0-10.0.pre.219, on Linux, locale en_GB.UTF-8)
    • Flutter version 1.21.0-10.0.pre.219 at /home/maximilian/snap/flutter/common/flutter
    • Framework revision 2f2130a885 (7 minutes ago), 2020-08-22 02:16:04 +0800
    • Engine revision 4dc866283d
    • Dart version 2.10.0 (build 2.10.0-45.0.dev)

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, set ANDROID_SDK_ROOT to that location.
      You may also want to add it to your PATH environment variable.


[✓] Linux toolchain - develop for Linux desktop
    • clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
    • cmake version 3.10.2
    • ninja version 1.8.2
    • pkg-config version 0.29.1

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).

[✓] Connected device (1 available)
    • Linux (desktop) • linux • linux-x64 • Linux


```